evalcache
evalcache copied to clipboard
[idea] zcompile cache
Hello,
I have an idea to improve performance further. Would it be possible to precompile the cache file generated by evalcache with zcompile? This change might reduce the time spent parsing the file during shell startup. I am not completely sure of the benefits, but I wanted to share the idea for your consideration.
Thank you for your time.
Interesting -- it's certainly possible. Usually the files I had been caching were pretty small, so I'm not sure how much overhead zcompile would remove. I imagine you could test this by manually zcompiling the cached file and seeing it if measurably impacts load times on your system?