Permalink
8 comments
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
performance boost for String#blank? in Ruby 2.4
Some casual benchmarks showed a 2x factor. All credit goes to @nurse.
- Loading branch information
Showing
with
1 addition
and 1 deletion.
This comment has been minimized.
This comment has been minimized.
Is
#match?
present in Ruby 2.2 and 2.3?This comment has been minimized.
ah, we just defined.
This comment has been minimized.
Yep, defined in 575dbee for reference.
This comment has been minimized.
@fxn, can we change same as here?
(rails) $ ag "([A-Z]|/) === "
This comment has been minimized.
This comment has been minimized.
It has to be studied case by case, I need to do a pass.
This comment has been minimized.