-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
This is to track PR https://github.com/mongodb/mongoid/pull/5222
It contains two performance changes to _numeric_ method used in Mongoization:
- .match? is faster than =~
- Faster regex which is functionally equivalent to the old one.