Skip to content
Commit Detail

Commit 4596b48

Author
Kenton Varda <kenton@cloudflare.com> 2025-04-11 08:48:38 -0500
Parents
f07e22c
Tree
7617c8e
Replace HashSet<ExternalMemoryTarget> with a singleton ExternalMemoryTarget.

AFAICT there is no need to allocate a separate ExternalMemoryTarget for every adjustment. This saves quite a bit of overhead when using adjustments -- previously, a mutex lock and a HashSet operation were needed whenever creating or destroying one.

Files changed

4 files changed~4 modified