Re:Show HN: Tag – instantly jump to your ag matches
by TomHubelbauer on Monday June 13, 2016 @10:50AM
(#11894287)
Very cool insight, do you know if the Windows kernel does the same? I'd like to learn more about it in context of Windows first, then Linux.
Re:Show HN: Tag – instantly jump to your ag matches
by todd8 on Monday June 13, 2016 @11:05AM
(#11894417)
Yes Windows does disk caching. This looks like a nice explanation:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...
While coding, your overall system is really just idling and it wouldn't be unusual for many of your projects header files and source files to be cached in memory because of your last compile. This effect is more pronounced on machines with a lot of memory of course. The cost savings from careful disk management is very important overall, but will it speed up the ag application? I'm surprised that ag only gets a 15% speed up with threads, but naturally it will depend on many factors.