On Mon, Sep 6, 2021, 6:14 PM Benjamin Eberlei <kont...@beberlei.de> wrote:
> On Fri, Sep 3, 2021 at 11:51 PM Hans Henrik Bergan <divinit...@gmail.com> > wrote: > > > The stat cache does not necessarily solve this issues though, only in very > limited cases where you work with the *same* file over and over again. The > stat cache only ever has exactly one entry, the *last* file that was > accessed. So if you work with many diferent files the stat cache does not > do what you would expect, to store the information of all these files. It > overwrites the cache with a new file entry when its not the same file as > currently stored. that is what happened in TS mode. For every part of a path, every single time a path is used (like source files in a common root path). I did not check it lately but I suppose it still does it. Luckily it should not be an issue anymore as most should be using nts as well and the opcache, maybe even wincache too which implements a smart cache with events (on change).