diff options
author | John Hawthorn <[email protected]> | 2019-12-11 15:47:49 -0800 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2019-12-17 09:19:00 -0800 |
commit | a01d22b8c16d9bd44767cced8d45398493af0a7c () | |
tree | 03c3016f66bdfc6cb481752f7edcdb0647616d10 /internal.h | |
parent | 8e56d3a6ab7cc05be586010acd9f85384d53403a (diff) |
Check type with BUILTIN_TYPE in method cache clear
We know that this is a heap-allocated object (a CLASS, MODULE, or ICLASS) so we don't need to check if it is an immediate value. This should be very slightly faster.
Notes: Merged: https://.com/ruby/ruby/pull/2752
0 files changed, 0 insertions, 0 deletions