cperl icon indicating copy to clipboard operation
cperl copied to clipboard

Move .pmc to xattr

Open rurban opened this issue 8 years ago • 0 comments

Advantage:

  • faster stat (only one, plus getxattr). see https://engineering.shopify.com/235340559-bootsnap-optimizing-ruby-app-boot-time
  • kept together with the source file.
  • will be moved with the source file.

Relies on platform-compat File::ExtAttr, esp. Windows is missing, though trivial to add. Needs a fallback when user_xattr is not mounted. (See http://linux.goeszen.com/extended-file-attributes-on-your-filesystem-how-to-enable-and-use-them.html) use File::Attributes::Extended.

rurban avatar May 20 '17 09:05 rurban