Bug 246322

Summary: encode WebCore::Paths using a trailing "end of path" marker instead of an element count prefix
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: Layout and RenderingAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 246319    
Bug Blocks:    

Description Cameron McCormack (:heycam) 2022-10-10 22:46:30 PDT
The decoder doesn't need to know the number of elements ahead of time, and writing a uint8_t marker at the end instead of a uint64_t at the start can save some bytes.
Comment 1 Radar WebKit Bug Importer 2022-10-10 22:47:08 PDT
<rdar://problem/101015632>
Comment 2 Cameron McCormack (:heycam) 2022-10-11 15:57:28 PDT
rdar://100873493
Comment 3 Cameron McCormack (:heycam) 2022-10-11 16:01:03 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5264
Comment 4 EWS 2022-10-12 13:46:17 PDT
Committed 255452@main (09496e855222): <https://commits.webkit.org/255452@main>

Reviewed commits have been landed. Closing PR #5264 and removing active labels.
Comment 5 EWS 2022-10-21 08:57:24 PDT
Committed 252432.632@safari-7614-branch (81b6f2dd592c): <https://commits.webkit.org/252432.632@safari-7614-branch>

Reviewed commits have been landed. Closing PR #154 and removing active labels.