aboutsummaryrefslogtreecommitdiffstats
path: root/java/incrementing-version-code
diff options
context:
space:
mode:
authorStefan Monnier2025-05-31 13:29:05 -0400
committerStefan Monnier2025-05-31 13:29:05 -0400
commitc3d9581f84107c2e137c71bb8fbf386bc20c944c (patch)
tree37d4a57f6577e16e0f2c4bc5e81b262bcd44e6f3 /java/incrementing-version-code
parent4b527088e66fe9f39ca4060cf1bc5918feb37c49 (diff)
downloademacs-c3d9581f84107c2e137c71bb8fbf386bc20c944c.tar.gz
emacs-c3d9581f84107c2e137c71bb8fbf386bc20c944c.zip
(load-path-filter-cache-directory-files): Filter only for `must-suffix`
Most loads set the `must-suffix` (e.g. `require and `autoload-do-load`), but some don't (e.g. `load-library`). This results in two separate entries in `load-path-filter--cache` with two hash-tables. The entry for `must-suffix=nil` is larger and much less often used than the other, so just skip filtering when `must-suffix=nil`. Reduces the memory size of the cache from ~1MB to ~400kB in my test case. * lisp/startup.el (load-path-filter-cache-directory-files): Don't use a filtering cache when `must-suffix` is nil.
Diffstat (limited to 'java/incrementing-version-code')
0 files changed, 0 insertions, 0 deletions