diff options
author | Andy Wingo <wingo@pobox.com> | 2017-02-17 11:01:19 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2017-02-17 11:04:16 +0100 |
commit | 2864f11d3415c650d9e80f8e7787e4df81dcc7e9 (patch) | |
tree | a1ee7cd94da9acb53fb0b72ceb1d85edc5e5f7a9 /libguile/strings.c | |
parent | 60035b66c795ffe82800b6400e5aba5b3d6fd5ca (diff) | |
download | guile-2864f11d3415c650d9e80f8e7787e4df81dcc7e9.tar.gz |
Bump fluid cache size to 16 entries
* libguile/cache-internal.h (SCM_CACHE_SIZE): Bump to 16. It seems that
a thread accesses more than 8 fluids by default (%stacks, the
exception handler, current ports, current-fiber, port read/write
waiters) which leads every fiber to cause cache eviction and copying
the value table, which is a bottleneck. Instead just bump this cache
size.
(scm_cache_lookup): Update unrolled search.
Diffstat (limited to 'libguile/strings.c')
0 files changed, 0 insertions, 0 deletions