@seanl OK. so the answer to stat overhead seems to be: Don't use stat, use something like inotify or kqueue, i.e. file change detection driven by filesystem events reported to userspace.
Conversation
Notices
-
Stefan Sperling (stsp@mastodon.social)'s status on Wednesday, 11-Apr-2018 20:50:37 UTC Stefan Sperling - Hallå Kitteh likes this.
- Hallå Kitteh repeated this.
-
Hallå Kitteh (clacke@social.heldscal.la)'s status on Wednesday, 11-Apr-2018 22:19:23 UTC Hallå Kitteh @stsp @seanl Just like what build systems for huge projects are doing these days (buck, pants, bazel). Makes sense that it would apply to VCSes too.