2 ms·
I wonder why the deopt cutoff is 128 and not a nice round number like 256. It seems like switching on the value of a byte would not be that uncommon.
by game-of-throws 4y ago
I wonder why the deopt cutoff is 128 and not a nice round number like 256. It seems like switching on the value of a byte would not be that uncommon.
- baobob 4y agoDon't know the guts of the optimization, but 128 64bit pointers is 1024, which is a round number. Could be to avoid memory or cache blowup, or maybe they're using that 8th bit for something internally