Skip to content
Snippets Groups Projects
Commit 604665ab authored by Thibault Allançon's avatar Thibault Allançon
Browse files

cache: replace asizeof() call with simpler heuristic

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, ...)
parent 2b1a725a
No related branches found
Tags v0.0.4
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment