summaryrefslogtreecommitdiff
path: root/yjit/src/invariants.rs
diff options
context:
space:
mode:
authorJemma Issroff <[email protected]>2022-11-22 15:28:14 -0500
committerGitHub <[email protected]>2022-11-22 15:28:14 -0500
commit9c5e3671ebd9c07c178ca5dac08ad15ad1eae411 (patch)
tree06f4f0560176011f14832d82f9e141ead7cac3f2 /yjit/src/invariants.rs
parent20b9d7b9fde83c98046eacdfcb40e8cb6607963e (diff)
Increment max_iv_count on class based on number of set_iv in initialize (#6788)
We can loosely predict the number of ivar sets on a class based on the number of iv set instructions in the initialize method. This should give us a more accurate estimate to use for initial size pool allocation, which should in turn give us more cache hits.
Notes
Notes: Merged-By: maximecb <[email protected]>
Diffstat (limited to 'yjit/src/invariants.rs')
0 files changed, 0 insertions, 0 deletions