Skip to content
Snippets Groups Projects
Forked from Platform / Development / swh-fuse
Source project has a limited visibility.
  • Thibault Allançon's avatar
    604665ab
    cache: replace asizeof() call with simpler heuristic · 604665ab
    Thibault Allançon authored
    The asizeof() introduced a very heavy overhead which made swhfs unusable
    when relying on many asizeof calls (eg: storing history exploration in
    the direntry cache with a history containing >1000 commits).
    
    The heuristic to calculate the size of a FuseEntry is based on
    experimental results from repositories with various history sizes (10K,
    100k, ...)
    604665ab
    History
    cache: replace asizeof() call with simpler heuristic
    Thibault Allançon authored
    The asizeof() introduced a very heavy overhead which made swhfs unusable
    when relying on many asizeof calls (eg: storing history exploration in
    the direntry cache with a history containing >1000 commits).
    
    The heuristic to calculate the size of a FuseEntry is based on
    experimental results from repositories with various history sizes (10K,
    100k, ...)
mypy.ini 453 B