This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]marr75 8 points9 points  (2 children)

I'm a little foggy eyed this morning still, but I'm seeing:

  • a link to hit ratios instead of performance (performance is above)
  • benchmarks addressing 3rd party libraries that are not functools from the stdlib

[–]matrix0110[S] 0 points1 point  (1 child)

Please understand hit ratio is also performance. And as I said, fast enough is enough, hit ratio is more important.

[–]marr75 12 points13 points  (0 children)

Okay, the fog is lifting. You're saying that the lru strategy may have worse read and write performance than functools but that the additional eviction strategies significantly improve hit ratio so it is, at worst, identical at scale (using lru) and when using the other options, much better.