summaryrefslogtreecommitdiffstats
path: root/contrib/gcclibs/libcpp/directives.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-11-14 15:54:54 +0000
committermav <mav@FreeBSD.org>2013-11-14 15:54:54 +0000
commit6e9db1ae07ead0c119124d91f051e1c076e63818 (patch)
treeb97262b54400758d2e8588e23e8e0d9287b149fa /contrib/gcclibs/libcpp/directives.c
parent9dcbb8e88d3f051a7ee6593c53e5ad49e4904bfd (diff)
downloadFreeBSD-src-6e9db1ae07ead0c119124d91f051e1c076e63818.zip
FreeBSD-src-6e9db1ae07ead0c119124d91f051e1c076e63818.tar.gz
Introduce allocation cache to store LZ4 compression contexts without kicking
VM subsystem twice for every written record. Tests on 24-core system show double reduction of CPU time spent on copying single large well-compressed file. This patch is not really needed on illumos (while not harm either) since their memory allocator by default uses caching for all requests up to 128K. Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Diffstat (limited to 'contrib/gcclibs/libcpp/directives.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud