1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-03-17 20:28:03 +02:00
Tobias Decking c9ebcbd8ab
globset: optimize character escaping
Rewrites the char_to_escaped_literal and bytes_to_escaped_literal
functions in a way that minimizes heap allocations. After this, the
resulting string is the only allocation remaining.

I believe when this code was originally written, the routines available
to avoid heap allocations didn't exist.

I'm skeptical that this matters in the grand scheme of things, but I
think this is still worth doing for "good sense" reasons.

PR 
2024-06-05 09:56:00 -04:00
..
2024-05-13 07:44:51 -04:00
2024-03-07 09:47:43 -05:00
2023-11-26 14:13:54 -05:00
2024-03-07 09:37:48 -05:00
2024-05-13 07:44:51 -04:00