diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2015-10-29 19:51:49 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2015-10-30 14:00:58 +0300 |
commit | a9df714764d6138bf162acd82b780ca82a21864b (patch) | |
tree | 5b04d07bc66a3139e6fca1bd6bd5d977ccc78634 /spec/benchmarks | |
parent | bba46623c20de52942c85eb2aba3649e3f4ba296 (diff) |
Use a subquery with IDs only for find_by_any_email
This further improves performance of User.find_by_any_email and is
roughly twice as fast as the previous UNION setup.
Thanks again to @dlemstra for suggesting this.
Diffstat (limited to 'spec/benchmarks')
0 files changed, 0 insertions, 0 deletions