Improve performance of `random`

Issue #47 resolved
Chris Mutel
repo owner created an issue

Using order by ? takes a while, as SQLite has to order all rows, especially at startup. Better to leave ordering undefined, but still leave a iteration randomly ordered. So just need to change .random(), but check this!

See also: http://stackoverflow.com/questions/4114940/select-random-rows-in-sqlite

Comments (1)

  1. Log in to comment