[webkit-changes] [WebKit/WebKit] fecc64: Reduce use of memcpy() / memset() in WTF/

Chris Dumez noreply at github.com
Mon Dec 23 17:54:45 PST 2024


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

  Changed paths:
    M Source/WTF/wtf/Assertions.cpp
    M Source/WTF/wtf/BitVector.cpp
    M Source/WTF/wtf/BitVector.h
    M Source/WTF/wtf/Brigand.h
    M Source/WTF/wtf/ConcurrentBuffer.h
    M Source/WTF/wtf/CurrentTime.cpp
    M Source/WTF/wtf/FastBitVector.cpp
    M Source/WTF/wtf/FastBitVector.h
    M Source/WTF/wtf/Packed.h
    M Source/WTF/wtf/SHA1.cpp
    M Source/WTF/wtf/SmallSet.h
    M Source/WTF/wtf/UUID.h
    M Source/WTF/wtf/UnalignedAccess.h
    M Source/WTF/wtf/cf/VectorCF.h
    M Source/WTF/wtf/cocoa/FileSystemCocoa.mm
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WTF/wtf/text/cf/AtomStringImplCF.cpp
    M Source/WTF/wtf/text/cf/StringConcatenateCF.h
    M Source/WTF/wtf/text/icu/TextBreakIteratorICU.h
    M Source/WebCore/platform/network/HTTPHeaderMap.cpp

  Log Message:
  -----------
  Reduce use of memcpy() / memset() in WTF/
https://bugs.webkit.org/show_bug.cgi?id=285004

Reviewed by Geoffrey Garen and Darin Adler.

* Source/WTF/wtf/Assertions.cpp:
* Source/WTF/wtf/BitVector.cpp:
(WTF::BitVector::setSlow):
(WTF::BitVector::clearAll):
(WTF::BitVector::resizeOutOfLine):
* Source/WTF/wtf/BitVector.h:
* Source/WTF/wtf/Brigand.h:
(brigand::real_::operator value_type const):
* Source/WTF/wtf/ConcurrentBuffer.h:
* Source/WTF/wtf/CurrentTime.cpp:
(WTF::lowResUTCTime):
* Source/WTF/wtf/FastBitVector.cpp:
(WTF::FastBitVectorWordOwner::setEqualsSlow):
(WTF::FastBitVectorWordOwner::resizeSlow):
* Source/WTF/wtf/FastBitVector.h:
(WTF::FastBitVectorWordOwner::operator=):
(WTF::FastBitVectorWordOwner::setAll):
(WTF::FastBitVectorWordOwner::clearAll):
(WTF::FastBitVectorWordOwner::set):
(WTF::FastBitVectorWordOwner::wordsSpan):
(WTF::FastBitVectorWordOwner::wordsSpan const):
* Source/WTF/wtf/Packed.h:
(WTF::PackedAlignedPtr::get const):
(WTF::PackedAlignedPtr::set):
* Source/WTF/wtf/SmallSet.h:
* Source/WTF/wtf/StdLibExtras.h:
(WTF::memcpySpan):
* Source/WTF/wtf/UUID.h:
(WTF::UUID::UUID):
* Source/WTF/wtf/UnalignedAccess.h:
(WTF::unalignedLoad):
(WTF::unalignedStore):
* Source/WTF/wtf/cocoa/FileSystemCocoa.mm:
(WTF::FileSystemImpl::createTemporaryDirectory):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::StringImpl::tryGetUTF8ForCharacters):
* Source/WTF/wtf/text/cf/StringConcatenateCF.h:
(WTF::StringTypeAdapter<CFStringRef>::writeTo<LChar> const):
* Source/WTF/wtf/text/icu/TextBreakIteratorICU.h:
(WTF::TextBreakIteratorICU::makeLocaleWithBreakKeyword):

Canonical link: https://commits.webkit.org/288265@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