-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
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.