Files
nuclei/pkg/templates
Dwi Siswanto 7e33712d08 fix(templates): mem leaks in parser cache
Fixes duplicate template storage & removes
unnecessary raw bytes caching.

Mem usage reduced by ~30%.
> 423MB => 299MB heap alloc.

* Use `StoreWithoutRaw()` to avoid storing raw
  bytes.
* Remove duplicate storage in both caches.
* Remove ineffective raw bytes retrieval logic.

Benchmarks show 45% perf improvement with no
regressions.

Signed-off-by: Dwi Siswanto <git@dw1.io>
2025-11-03 20:27:03 +07:00
..
2025-08-25 13:36:58 +05:30
2024-06-22 22:42:00 +05:30
2023-10-17 17:44:13 +05:30
2023-10-17 17:44:13 +05:30
2024-06-25 12:26:18 +03:00
2024-03-15 00:01:09 +01:00
2025-10-10 17:32:54 +02:00
2025-10-10 17:32:54 +02:00
2025-10-10 17:32:54 +02:00