mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-17 15:55:46 +00:00
![]() ## Summary I noticed that we have a few hot comparisons that involve called `s.to_lowercase()`. We can avoid an allocation by comparing characters directly. |
||
---|---|---|
.. | ||
builtins.rs | ||
future.rs | ||
identifiers.rs | ||
keyword.rs | ||
lib.rs | ||
logging.rs | ||
path.rs | ||
str.rs | ||
sys.rs | ||
typing.rs |