mirror of
https://github.com/mirror/make.git
synced 2026-08-10 17:14:33 +00:00
In various places we were passing flags and characters to compare, then using complex conditionals to see where to stop in string searches. Performance numbers reveal that we were spending as much as 23% of our processing time in these functions, most of it in the comparison lines. Instead create a character map and use a single bitwise comparison to determine if this is any one of the stop characters.
54 KiB
54 KiB