1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-03-23 04:34:39 +02:00
fe9lix b9c774937f ignore: fix reference cycle for compiled matchers
It looks like there is a reference cycle caused by the compiled
matchers (compiled HashMap holds ref to Ignore and Ignore holds ref
to HashMap). Using weak refs fixes issue #2690 in my test project.
Also confirmed via before and after when profiling the code, see the
attached screenshots in #2692.

Fixes #2690
2024-01-06 12:50:42 -05:00
..
2023-11-26 14:13:03 -05:00
2023-11-26 14:11:05 -05:00
2023-11-27 21:36:54 -05:00
2023-11-26 14:13:54 -05:00
2023-11-26 14:16:46 -05:00
2023-11-27 21:36:02 -05:00
2023-11-26 14:15:44 -05:00
2023-11-27 21:34:58 -05:00