diff options
author | Jean Boussier <[email protected]> | 2025-04-26 07:56:54 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-04-26 12:10:32 +0200 |
commit | c0417bd094abcc68be913ce49a430df7cefbcd44 (patch) | |
tree | c9f72a317c8ff86269cdf5389732b179f3ee43ce /common.mk | |
parent | e4f85bfc311a3812de7bc2e9d068934e8b364574 (diff) |
Use `set_table` to track const caches
Now that we have a `set_table` implementation, we can
use it to track const caches and save some memory.
We could even save some more memory if `numtable` didn't
store a copy of the `hash` and instead recomputed it every
time, but this is a quick win.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13184
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8903,6 +8903,7 @@ iseq.$(OBJEXT): $(top_srcdir)/internal/rational.h iseq.$(OBJEXT): $(top_srcdir)/internal/ruby_parser.h iseq.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h iseq.$(OBJEXT): $(top_srcdir)/internal/serial.h +iseq.$(OBJEXT): $(top_srcdir)/internal/set_table.h iseq.$(OBJEXT): $(top_srcdir)/internal/static_assert.h iseq.$(OBJEXT): $(top_srcdir)/internal/string.h iseq.$(OBJEXT): $(top_srcdir)/internal/symbol.h @@ -19549,6 +19550,7 @@ vm.$(OBJEXT): $(top_srcdir)/internal/re.h vm.$(OBJEXT): $(top_srcdir)/internal/ruby_parser.h vm.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h vm.$(OBJEXT): $(top_srcdir)/internal/serial.h +vm.$(OBJEXT): $(top_srcdir)/internal/set_table.h vm.$(OBJEXT): $(top_srcdir)/internal/static_assert.h vm.$(OBJEXT): $(top_srcdir)/internal/string.h vm.$(OBJEXT): $(top_srcdir)/internal/struct.h |