Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-13854: add general-purpose Cache class #50

Merged
merged 3 commits into from
Mar 27, 2018
Merged

Commits on Mar 27, 2018

  1. add Cache class

    Cache of most recently used objects, hashed by some key, with user-defined
    capacity limit.
    PaulPrice committed Mar 27, 2018
    Configuration menu
    Copy the full SHA
    3314ade View commit details
    Browse the repository at this point in the history
  2. Cache: add compile-time debug instrumentation

    Allows us to characterise the cache performance.
    PaulPrice committed Mar 27, 2018
    Configuration menu
    Copy the full SHA
    ed55179 View commit details
    Browse the repository at this point in the history
  3. add hashCombine

    C++11 added std::hash, but neglected to include a function for
    combining multiple hashes.
    PaulPrice committed Mar 27, 2018
    Configuration menu
    Copy the full SHA
    e68ac28 View commit details
    Browse the repository at this point in the history