From: Amos Jeffries Date: Tue, 26 May 2015 17:25:04 +0000 (-0700) Subject: Replace Packer object API with Packable API X-Git-Tag: merge-candidate-3-v1~101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1071ffed56172406d771265af76d8273ffcdb89e;p=thirdparty%2Fsquid.git Replace Packer object API with Packable API Majority of thost patch is symbol renaming to unify the class method names to the Packable API names. There is effectively no logical change in this patch despite appearances because it replaces the Packer object which provides methods which are just wrappers pointing to static functions which are in turn wrappers pointing to storage buffer object methods. With direct calls to those storage object methods (renamed). We can now interchangebly use MemBuf or StoreEntry objects with the packInto(Packable *) functions. Or any other object which inherits and implements the Packable API. We also gain 0.1% in performance (+2 RPS) by avoiding the layers of wrapper funcions and Packer object allocate / deallocate cycles. --- 1071ffed56172406d771265af76d8273ffcdb89e