about summary refs log tree commit diff stats
path: root/src/config/mimetypes.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-07-10 16:33:09 +0200
committerbptato <nincsnevem662@gmail.com>2024-07-10 16:33:09 +0200
commit997659102f16a5afc90585651e8c8502e0c8f45e (patch)
tree50bb10e1e6e774348feac16589df4ece8d4cbc0e /src/config/mimetypes.nim
parentf73db5441b827de99007b87a10484271c9c26a67 (diff)
downloadchawan-997659102f16a5afc90585651e8c8502e0c8f45e.tar.gz
cascade: reduce allocations
Just use the previous tree when possible.

The child list is still reconstructed, but at least we no longer alloc
every single node again at every single restyle.
Diffstat (limited to 'src/config/mimetypes.nim')
0 files changed, 0 insertions, 0 deletions