filterfish / smith2

A complete rewrite of Smith
12 stars 7 forks source link

Quantize time comparison #56

Closed qnm closed 6 years ago

qnm commented 6 years ago

The caching time comparison uses mtime which is too high a resolution to be practical.

By casting mtime.to_i we reduce the resolution and allow a cache hit to take place when the files are, to all extents and purposes, created at the same time.

This assist us in migrating to a gem bundle of ACLs.