lean4-htt/src/Init/Data/String/Pattern
Markus Himmel 5a5f8c4c2e
perf: unbundle needle from char/pred pattern (#11376)
This PR aims to improve the performance of `String.contains`,
`String.find`, etc. when using patterns of type `Char` or `Char -> Bool`
by moving the needle out of the iterator state and thus working around
missing unboxing in the compiler.
2025-11-26 07:30:29 +00:00
..
Basic.lean chore: rename String.ValidPos to String.Pos (#11240) 2025-11-24 16:40:21 +00:00
Char.lean perf: unbundle needle from char/pred pattern (#11376) 2025-11-26 07:30:29 +00:00
Pred.lean perf: unbundle needle from char/pred pattern (#11376) 2025-11-26 07:30:29 +00:00
String.lean feat: string patterns for decidable predicates on Char (#11285) 2025-11-20 15:30:37 +00:00