DescriptionTurn Scope::locals_ into a ThreadedList
This turns the ZoneList with minimum 6 words overhead into a linked list through variables, using 2 words for the empty list. Additionally the average number of pointers per entry goes down to the optimal 1 per variable that's in a list.
This does introduce 1 pointer unnecessary overhead for dynamic variables. If that becomes a problem we could distinguish between variables in lists and variables not in lists. We can distinguish them at construction-time.
BUG=v8:5209
Committed: https://crrev.com/4fa2ebcbe0d8207cbea45dae6610725c24052915
Cr-Commit-Position: refs/heads/master@{#40714}
Patch Set 1 #Patch Set 2 : Fix abort preparsing args #Patch Set 3 : Better fix #Patch Set 4 : Fix test again #
Total comments: 4
Patch Set 5 : Addressed comments #
Messages
Total messages: 15 (7 generated)
|