RESOLVED FIXED243521
Iterate non-contiguous NSData regions instead of copying to contiguous buffer
https://bugs.webkit.org/show_bug.cgi?id=243521
Summary Iterate non-contiguous NSData regions instead of copying to contiguous buffer
Alex Christensen
Reported 2022-08-03 17:24:37 PDT
CFNetwork gives us NSData which we then copy to SharedMemory, but we do so by calling NSData.data which copies the data to a newly allocated buffer in about 1/4-1/3 of the cases of my local browsing. Iterating using enumerateByteRangesUsingBlock instead removes this copy and allocation
Attachments
Alex Christensen
Comment 1 2022-08-03 17:25:45 PDT
Radar WebKit Bug Importer
Comment 2 2022-08-10 17:25:15 PDT
EWS
Comment 3 2022-08-11 21:03:49 PDT
Committed 253363@main (f6b396ad7232): <https://commits.webkit.org/253363@main> Reviewed commits have been landed. Closing PR #2999 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.