Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2015-10-29 19:51:49 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2015-10-30 14:00:58 +0300
commita9df714764d6138bf162acd82b780ca82a21864b (patch)
tree5b04d07bc66a3139e6fca1bd6bd5d977ccc78634 /spec/benchmarks
parentbba46623c20de52942c85eb2aba3649e3f4ba296 (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