Coverage remained the same at 100.0% when pulling 6519599241cff7bc99cc0ccc5bac4a22a6bb9615 on pocke:alias into 93c43433ec4d4344485eb4ea6f8948925f092af1 on whitequark:master.
Coverage remained the same at 100.0% when pulling 04630729a1dd4daca83c9d31184de80b2aebf38d on pocke:alias into 93c43433ec4d4344485eb4ea6f8948925f092af1 on whitequark:master.
Coverage remained the same at 100.0% when pulling 04dc37f20eab145d9a8b6d1de7fe35950c1a06f8 on pocke:alias into 93c43433ec4d4344485eb4ea6f8948925f092af1 on whitequark:master.
By this change, the method will be faster around 33%.
Benchmark
Result
Note
The method is small, but it is called many times by applications(e.g. RuboCop). So, I think this change makes sense.