makyo/ideawheel — pull request #33 by jculpon (2013-09-25 20:13:32+00:00)
Title: Answer login queries with an index

Adds a multicolumn index to the auth_users table so that we can answer login queries from the index rather than from the table itself.

This might qualify as a premature optimization, but I thought of it while working on the scrypt change and it only took a few minutes to implement.