debug-info: Use a weak side table for COMPILED-DEBUG-FUN caching.
commit8d3f79fe29615290b520f173ea0f713aa001f5d7
authorCharles Zhang <charleszhang99@yahoo.com>
Thu, 11 Apr 2024 21:45:16 +0000 (11 23:45 +0200)
committerCharles Zhang <charleszhang99@yahoo.com>
Sat, 13 Apr 2024 11:25:51 +0000 (13 13:25 +0200)
treed45992095e7cef2a115bec76ecf2519d5fa938da
parent00fca651261274a8472f584610d7c12c13424bbe
debug-info: Use a weak side table for COMPILED-DEBUG-FUN caching.

Having a separate slot doesn't buy much other than waste about 200kb
of space in a warm core. The debugger doesn't need accesses to the
cache to be fast.

This also fixes a bug in editcore, allowing us to remove a bunch of
allowed instances that never get dumped as part of COMPILED-DEBUG-INFO
now.
src/code/debug-info.lisp
src/code/debug-int.lisp
src/code/save.lisp
tools-for-build/editcore.lisp
xperfecthash63.lisp-expr