Closed
Bug 1562606
Opened 2 years ago
Closed 2 years ago
Implement unsigned LEB128 read/write function over an iterator
Categories
(Core :: Gecko Profiler, task, P2)
Core
Gecko Profiler
Tracking
()
RESOLVED
FIXED
mozilla69
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: gerald, Assigned: gerald)
References
Details
Attachments
(1 file)
We have a few other LEB128 routines around the place, but for my work on the new ProfileBuffer I need functions that can write to, or read from, an iterator.
(This iterator will hide the wrapping happening in the ProfileBuffer circular buffer.)
Assignee | ||
Comment 1•2 years ago
|
||
And the LEB128 numbers will be primarily used to store sizes of usually-small data blocks, which is where LEB128 helps by using less memory for small numbers.
Assignee | ||
Comment 2•2 years ago
|
||
The new ProfileBuffer data structure will need to store block sizes (usually
small, LEB128 uses fewer bytes for small numbers), and the circular buffer will
provide iterators that hide the wrapping-around.
Pushed by gsquelart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/41fb123dc560 Implement unsigned LEB128 functions working over iterators - r=gregtatum
Comment 4•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in
before you can comment on or make changes to this bug.
Description
•