Project

General

Profile

« Previous | Next » 

Revision 0964593e

Added by byroot (Jean Boussier) about 1 month ago

Shrink sym_proc_cache by half

There is no need to store the symbol and the proc given the
proc has a reference to the symbol.

This makes the cache half as small, now fitting in an object
slot, but also make it easier to allow that cache to be
used by ractors, assuming we'd make Symbol#to_proc
return a shareable proc.