[ruby-core:118570] [Ruby master Misc#20630] Potential optimizations for NODE_CONST compilation