Chromium Code Reviews
DescriptionIntroduce ForwardsTextBuffer and BackwardsTextBuffer
The two new classes wrap |WTF::Vector| such that, |ForwardsTextBuffer|
allows efficients appending, while |BackwardsTextBuffer| allows efficient
prepending, respectively.
This is part of a bigger CL [1], which is in turn part of another even
bigger CL [2].
[1] https://codereview.chromium.org/1647483003
[2] https://codereview.chromium.org/1604783002
BUG=n/a
TEST=webkit_unit_tests --gtest_filter=*TextBufferTest.*
Committed: https://crrev.com/4fcb037b7549a5e1ae7a75885978696e2ead225d
Cr-Commit-Position: refs/heads/master@{#372918}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Test cases simplified #Patch Set 3 : Stop the win compiler's complaint #Dependent Patchsets: Messages
Total messages: 18 (6 generated)
|