[webkit-changes] [WebKit/WebKit] bac6d7: Optimize SVGPathByteStreamBuilder::append()

Chris Dumez noreply at github.com
Wed Aug 30 16:16:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bac6d7369d4bc1f8cba331c2c36c8d7b047f1cb5
      https://github.com/WebKit/WebKit/commit/bac6d7369d4bc1f8cba331c2c36c8d7b047f1cb5
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M Source/WebCore/svg/SVGPathByteStream.h
    M Source/WebCore/svg/SVGPathByteStreamBuilder.h

  Log Message:
  -----------
  Optimize SVGPathByteStreamBuilder::append()
https://bugs.webkit.org/show_bug.cgi?id=260927

Reviewed by Ryosuke Niwa.

Optimize SVGPathByteStreamBuilder::append() by appending several bytes at once
instead of appending bytes one by one to the Vector.

* Source/WebCore/svg/SVGPathByteStream.h:
(WebCore::SVGPathByteStream::append):
* Source/WebCore/svg/SVGPathByteStreamBuilder.h:

Canonical link: https://commits.webkit.org/267470@main




More information about the webkit-changes mailing list