2.140.191
object 251069e99e6c56ab7df431f7bd32d56edb874b89
authorFred T. Hamster <fred@feistymeow.org>
Fri, 13 Feb 2026 11:11:52 +0000 (06:11 -0500)
release 2.140.191 - built for speed?

the buildor_gen_deps script had truly abysmal performance.  on just one file, it was taking many minutes to compute the dependency list.  this was obviously due to poor approaches for scanning and processing the text, with lots of out-calls to sed for pattern matching.  ugh.  good for a first prototype, but this was not production code.
the new version relies on bash associative arrays to speed things way the heck up.  minutes became seconds for the run time.  here's a comparison:
  original recipe (with lots of subprocesses): 3m52.713s
  some good mods (using associative arrays in a few places): 0m30.933s
  full conversion (associative arrays and in-bash variable expansions): 0m15.699s
considering the original (233 seconds) and the final (16 seconds), these changes got 14.6 times better performance by using associative arrays and smarter text comparisons.  definitely worth it.