diff options
author | Eric Wong <e@yhbt.net> | 2020-03-19 03:32:53 -0500 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-03-20 18:22:51 +0000 |
commit | 8fb8fc52420ef669c5b9c583d32647e9fbdffd88 (patch) | |
tree | fd72fc5be02fd3e5bb901f2330626756534a5d89 /lib/PublicInbox/SolverGit.pm | |
parent | c713cd419189cbe5cf72b6e60e846458985ffcdb (diff) | |
download | public-inbox-8fb8fc52420ef669c5b9c583d32647e9fbdffd88.tar.gz |
We already lazy-load WwwListing for the CGI script, and hiding another layer of lazy-loading makes things difficult to do WWW->preload. We want long-lived processes to do all long-lived allocations up front to avoid fragmentation in the allocator, but we'll still support short-lived processes by lazy-loading individual modules in the PublicInbox::* namespace. Mixing up allocation lifetimes (e.g. doing immortal allocations while a large amount of space is taken by short-lived objects) will cause fragmentation in any allocator which favors large contiguous regions for performance reasons. This includes any malloc implementation which relies on sbrk() for the primary heap, including glibc malloc.
Diffstat (limited to 'lib/PublicInbox/SolverGit.pm')
0 files changed, 0 insertions, 0 deletions