[Webkit-unassigned] [Bug 250676] New: Use memcpy in SVGPathByteStreamSource::readType
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 16 05:24:17 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=250676
Bug ID: 250676
Summary: Use memcpy in SVGPathByteStreamSource::readType
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ahmad.saleem792 at gmail.com
CC: sabouhallawa at apple.com, zimmermann at kde.org
Hi Team,
While going through Blink's commit, I came across following refactoring / optimization:
Blink Commit - https://chromium.googlesource.com/chromium/blink/+/f9411437595a5782eb1adba1f719d4448530bd93
WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/svg/SVGPathByteStreamSource.h#57
'''
This avoids having the compiler beating around the bush trying to
recognize the memcpy, and results in smaller code (roughly 50% smaller
measured for GCC 4.8). All at the affordable price of upsetting a few
language purists.
'''
Appreciate if someone can share input.
Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230116/8f302c5c/attachment.htm>
More information about the webkit-unassigned
mailing list