@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 16:50:37 EDT Stefan Sperling
-
clacke (clacke@social.heldscal.la)'s status on Wednesday, 11-Apr-2018 18:19:23 EDT clacke
@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.
-