Commit graph

6 commits

Author SHA1 Message Date
Dan Church
7dbbb5422a
Unpack @_ first (PBP) 2023-07-20 12:37:07 -05:00
Dan Church
907a7113a8
Remove Perl 4 sigils (PBP) 2023-07-20 12:41:07 -05:00
Dan Church
02f97c2a90
Refactor 'more_linked'
- Make method static.
- Don't call dirname() in sort block. Relegate this to *::File.
  This carries with it a slight performance boost; calculate dirname of
  file only once upon instantiation, instead of (N log N) * 2 times.
- Move determination of read-only entries higher.
  This carries with it a slight performance boost as well, no longer
  redundantly testing directory write-ability N log N times (reduced to
  N times), and no longer requires memory to keep track of warnings
  issued.
2023-07-20 15:09:58 -05:00
Dan Church
5c6f506ed9
Refactor 'oldest_mtime' to be static 2023-07-20 12:48:07 -05:00
Dan Church
e5c25ef772
Replace unnecessary 'use' with 'require' 2023-07-20 12:44:31 -05:00
Dan Church
4d4edd5e9d
Move library code to lib/
Fixes accidental inclusion of test instrumentation into the all-in-one
script.
2023-06-29 13:01:29 -05:00