Skip to content
hoelzro edited this page Oct 28, 2014 · 9 revisions
  • How much overhead do we incur from parsing ConfigDefault.pm every time?
  • How much overhead do we incur from climbing up the directory tree, looking for a project ackrc every time?
  • Can we make use of d_type in readdir to eliminate calls to stat?
  • Why does searching a single large file specified on the command line take so long?
  • Test more things in timing script
    • Large files (with and without matches)
    • Context (-A, -B, -C)
    • --noignore-dir
  • Move hot code sections into an optional XS module
  • Move $opt->{...} accesses into global/module-level/dynamic variables
  • Implement hot code in XS?
  • Try on large codebases (android, linux kernel)
  • How much overhead is incurred unpacking @_?
  • Use blessed array references rather than hash references for objects?
  • How expensive is local $opt_...? Can we eliminate some to our benefit?
  • We might be able to eliminate method calls to filter in the case of inverted filters and singleton collections
Clone this wiki locally