[webkit-changes] [WebKit/WebKit] f099fb: Reduce use of memcpy() in WebCore/PAL/pal/text

Chris Dumez noreply at github.com
Wed Dec 25 16:59:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f099fb617a268053ded3526772d184770070ae1c
      https://github.com/WebKit/WebKit/commit/f099fb617a268053ded3526772d184770070ae1c
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-12-25 (Wed, 25 Dec 2024)

  Changed paths:
    M Source/WTF/wtf/text/StringBuffer.h
    M Source/WebCore/PAL/pal/text/TextCodecASCIIFastPath.h
    M Source/WebCore/PAL/pal/text/TextCodecLatin1.cpp
    M Source/WebCore/PAL/pal/text/TextCodecUTF8.cpp
    M Source/WebCore/PAL/pal/text/TextCodecUTF8.h

  Log Message:
  -----------
  Reduce use of memcpy() in WebCore/PAL/pal/text
https://bugs.webkit.org/show_bug.cgi?id=285116

Reviewed by Darin Adler.

* Source/WTF/wtf/text/StringBuffer.h:
(WTF::StringBuffer::span):
* Source/WebCore/PAL/pal/text/TextCodecASCIIFastPath.h:
(PAL::UCharByteFiller<4>::copy):
(PAL::UCharByteFiller<8>::copy):
(PAL::copyASCIIMachineWord):
* Source/WebCore/PAL/pal/text/TextCodecLatin1.cpp:
(PAL::TextCodecLatin1::decode):
* Source/WebCore/PAL/pal/text/TextCodecUTF8.cpp:
(PAL::appendCharacter):
(PAL::TextCodecUTF8::handlePartialSequence):
(PAL::TextCodecUTF8::decode):
* Source/WebCore/PAL/pal/text/TextCodecUTF8.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list