Commit adfe8aa
committed
Fix format-string cache leak and add size cap
Document the rationale behind the format-string cache leak.
Implement a size cap to prevent further interning when the
cache limit is reached. Add tests to validate that interning
stops appropriately once the cache is full.1 parent 1dfabd4 commit adfe8aa
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
575 | | - | |
576 | | - | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
577 | 580 | | |
578 | 581 | | |
0 commit comments