Closed Bug 1551916 Opened 1 year ago Closed 1 year ago
Optimize computing a column number as count of code points by caching column numbers (and whether each chunk might contain anything multi-unit) and counting forward from them
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/c5180b76c353 Remove |TokenStreamAnyChars::undoInternalUpdateLineInfoForEOL| as unused. r=arai https://hg.mozilla.org/integration/autoland/rev/04cce27de4ac Make JS_COLUMN_DIMENSION_IS_CODE_POINTS a no-argument macro function so that calling it before its definition is an error, and move it upward in TokenStream.h so it's defined in places where subsequent changes will need it. r=arai https://hg.mozilla.org/integration/autoland/rev/70c4b663298a Optimize column-number computations for offsets more than |ColumnChunkLength = 128| code units into a line by saving column information at 128-unit increments (rounded down to the nearest code point start) so that at most (length of... r=arai https://hg.mozilla.org/integration/autoland/rev/9ae652e07ac2 Add a boolean to every chunk for a long-line vector indicating whether that chunk contains any multiple-unit code points, so that column computations inside wholly-single-unit chunks can do a constant-time pointer-range computation... r=arai
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/a25b553e6824 Flip column numbers back to being counts of code points and not code units. r=arai
You need to log in before you can comment on or make changes to this bug.