You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realized uproot4 has dropped the way-too-many kinds of cache so we probably should learn from Jim in making one here. I think a good start would be to at leach cache whole branch / tree if they fit, in case users are doing some small exploration work.
For the larger-than-RAM TChain like event loop, cache is less useful:
user probably is running a script (so a one-off thing)
LRU cache is useless since accessed elements are >> RAM size.
The text was updated successfully, but these errors were encountered:
Moelf
changed the title
Use LRU cache
Use LRU cache in rudimentary ways
Sep 13, 2020
Probably for 2.0 release or something but I ran into some very light / nice implementation for example https://github.com/marius311/Memoization.jl .
I realized
uproot4
has dropped the way-too-many kinds of cache so we probably should learn from Jim in making one here. I think a good start would be to at leach cache wholebranch
/tree
if they fit, in case users are doing some small exploration work.For the larger-than-RAM TChain like event loop, cache is less useful:
The text was updated successfully, but these errors were encountered: