Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We don't have the check the range when the value is coming from the DB, so override type_cast_from_database to short-circuit the extra work. The difference is huge but the absolute gain is quite small. That being said this is a hotspot and it showed up on the radar when benchmarking discourse.
- Loading branch information