summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-04-26 07:56:54 +0200
committerJean Boussier <[email protected]>2025-04-26 12:10:32 +0200
commitc0417bd094abcc68be913ce49a430df7cefbcd44 (patch)
treec9f72a317c8ff86269cdf5389732b179f3ee43ce /common.mk
parente4f85bfc311a3812de7bc2e9d068934e8b364574 (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.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index d8d8a1655b..09f3bfe36c 100644
--- a/common.mk
+++ b/common.mk
@@ -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