Skip to content

Conversation

@benjie
Copy link
Member

@benjie benjie commented Oct 23, 2020

Description

Remove unnecessary LRU; now we've optimised parseInterval there's no need to wrap it in an LRU. I've benchmarked parseInterval at 2.2 million parses per second, so it's unlikely an LRU is going to make a big difference here (and in fact might hurt performance?)

Performance impact

Slightly reduces memory usage.

Security impact

None

@benjie benjie merged commit 234d547 into v4 Oct 23, 2020
@benjie benjie deleted the no-lru-for-interval branch October 23, 2020 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants