RESOLVED FIXED 262889
Optimize Vector::appendRange() when input iterators are random access iterators
https://bugs.webkit.org/show_bug.cgi?id=262889
Summary Optimize Vector::appendRange() when input iterators are random access iterators
Chris Dumez
Reported 2023-10-09 07:41:04 PDT
Optimize Vector::appendRange() when input iterators are random access iterators. When such iterators are provided, we can compute the new size in constant time and thus reserve capacity + unsafeAppendWithoutCapacityCheck().
Attachments
Chris Dumez
Comment 1 2023-10-09 07:42:59 PDT
Chris Dumez
Comment 2 2023-10-09 10:26:54 PDT
EWS
Comment 3 2023-10-09 15:11:17 PDT
Committed 269115@main (d9dcd1c0fc11): <https://commits.webkit.org/269115@main> Reviewed commits have been landed. Closing PR #18847 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2023-10-09 15:12:25 PDT
Note You need to log in before you can comment on or make changes to this bug.