DescriptionShrink canonicalizedTitle a bit.
Noticed that it was (in content_shell x64 for Linux) 421 and 425 bytes
which seemed excessive. Just rewrote it a bit to do less work for the
same result.
gcc (not even going to guess why createQualifiedName changed):
---------------------------------------------------------------------------------------------------------------------
-635 - Source: /home/bratell/src/chromium/src/third_party/WebKit/Source/core/dom/Document.cpp - (gained 8, lost 643)
---------------------------------------------------------------------------------------------------------------------
Grown symbols:
+8: WebCore::Document::didChangeVisibilityState() type=t, (was 299 bytes, now 307 bytes)
Shrunk symbols:
-64: WebCore::createQualifiedName(WTF::AtomicString const&, WTF::AtomicString const&, WebCore::ExceptionState&) type=t, (was 1112 bytes, now 1048 bytes)
-579: WebCore::Document::updateTitle(WTF::String const&) type=t, (was 1541 bytes, now 962 bytes)
clang:
Shrunk symbols:
-241: WebCore::Document::updateTitle(WTF::String const&) type=t, (was 1124 bytes, now 883 bytes)
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181746
Patch Set 1 : Shrink canonicalizedTitle #Patch Set 2 : Smaller canonicalizedTitle #Patch Set 3 : Shrink canonicalizedTitle and clean up StringBuffer. #Patch Set 4 : Rebased to newer origin/master #Messages
Total messages: 13 (2 generated)
|