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

refactor: implement cache abstraction and unit test #506

Merged
merged 14 commits into from
Jul 22, 2022

Commits on Jun 14, 2022

  1. refactor: implement cache abstraction and unit test

    * implementing cache abstraction, unit test Add
    
    * create benchmark for Add(), start working on benchmark for Remove()
    
    * implement no duplicates in cache and unit test
    
    * switch fast node cache to the new abstraction
    
    * switch regular cache to the new abstraction
    
    * fmt and add interface godoc
    
    * rename receiver to c from nc
    
    * const fastNodeCacheLimit
    
    * move benchmarks to a separate file
    p0mvn committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    91c2b76 View commit details
    Browse the repository at this point in the history
  2. fix bench

    p0mvn committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    48c3a5e View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. Configuration menu
    Copy the full SHA
    1c4c288 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d07ef28 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d696f75 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. Configuration menu
    Copy the full SHA
    e194c16 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. Configuration menu
    Copy the full SHA
    8bf11a3 View commit details
    Browse the repository at this point in the history
  2. rename limit to max / size

    p0mvn committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    5a5f34b View commit details
    Browse the repository at this point in the history
  3. fix benchmarks

    p0mvn committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    e935d8f View commit details
    Browse the repository at this point in the history
  4. Merge branch 'roman/cache-abstractions' of github.com:cosmos/iavl int…

    …o roman/cache-abstractions
    p0mvn committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    d2b985c View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    a7152c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6eac72a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77dce5b View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. Configuration menu
    Copy the full SHA
    b5a27ad View commit details
    Browse the repository at this point in the history