DescriptionEncode interpreter::SourcePositionTable as variable-length ints.
This reduces the memory consumption of SourcePositionTable by ca. 2/3.
Over Octane, this reduces the source position table memory consumption
from ~370kB to ~115kB, which makes it ca. 10% of the total bytecode size
(~1.1MB)
BUG=
Committed: https://crrev.com/a6f41f7b8226555c5900440f6e3092b3545ee0f6
Cr-Commit-Position: refs/heads/master@{#34250}
Patch Set 1 #Patch Set 2 : Add test + fixes. #Patch Set 3 : Fix iterator. #
Total comments: 18
Patch Set 4 : Address Yang's comments. #
Total comments: 5
Patch Set 5 : Ross' feedback: Separate byte encoding from other processing. #
Total comments: 6
Patch Set 6 : Ross' feedback: Lazy encode entries instead of scanning backwards. #Patch Set 7 : Fix multi-revert case & add test. #
Total comments: 2
Patch Set 8 : Ross' feedback: Remove RevertPosition entirely. #Patch Set 9 : Make windows compiler happy. #
Total comments: 8
Patch Set 10 : More review feedback. #
Messages
Total messages: 25 (7 generated)
|