This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid unnecessary calls to fastZeroedMalloc() in FastBitVector
https://bugs.webkit.org/show_bug.cgi?id=240812 Reviewed by Yusuke Suzuki. We were calling fastZeroedMalloc() which would allocate the memory and memset it to 0, only to then overwrite all (or most) of that memory with memcpy(). * Source/WTF/wtf/FastBitVector.cpp: (WTF::FastBitVectorWordOwner::setEqualsSlow): (WTF::FastBitVectorWordOwner::resizeSlow): Canonical link: https://commits.webkit.org/250918@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 1 changed file with 7 additions and 7 deletions.