Skip to content

Conversation

@phraktle
Copy link
Contributor

@phraktle phraktle commented Jan 1, 2016

Defaults to no caching. A simple bounded cache implementation using ConcurrentHashMap is provided (CHMCache). When caching is applied, ContainerNodes are always deep-copied. This way the cached instances remain immutable.

Even with a very modest cache size, this yields a good hit-rate and a major speedup (~3x on the low-level benchmark, ~2x on the high-level API) along with a significant reduction in object churn (refs #13).

Defaults to no caching. A simple bounded cache implementation using ConcurrentHashMap is provided.
@oschwald
Copy link
Member

oschwald commented Jan 1, 2016

I merged this via the command line.

@oschwald oschwald closed this Jan 1, 2016
@phraktle phraktle deleted the caching branch January 1, 2016 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants