Pack ResourceResponse harder.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Jan 2014 06:51:34 +0000 (06:51 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Jan 2014 06:51:34 +0000 (06:51 +0000)
commitc384509dbb03289e0e84bc92cf18f8ca51096304
tree4592828517ca75865cf7deff4a6597c6a3bea9d1
parentec7f84d3f5f462a37e24a12869b7513831212078
Pack ResourceResponse harder.
<https://webkit.org/b/127005>

Re-arrange the members of ResourceResponse to reduce padding,
shrinking it by 8 bytes.

This nudges CachedResource and CachedImage into smaller size
classes, yielding a ~700 kB progression on Membuster3.

Reviewed by Anders Carlsson.

* platform/network/ResourceResponseBase.cpp:
(WebCore::ResourceResponseBase::ResourceResponseBase):
* platform/network/ResourceResponseBase.h:
* platform/network/cf/ResourceResponse.h:
(WebCore::ResourceResponse::ResourceResponse):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/network/ResourceResponseBase.cpp
Source/WebCore/platform/network/ResourceResponseBase.h
Source/WebCore/platform/network/cf/ResourceResponse.h