-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wordhero: (もっと) 軽くする #178
Labels
Comments
というか、普通にORDER BY RANDOMも害悪らしいので、何かで代替したほうが良さそう |
SQLiteにインデックス貼るのは別にいいんだけど、このDBは盤面を生成するときには使われないので高速化したい場所ではないですね〜 SQLiteはゲームが終わったあと単語の説明文を取得するのに使ってるんですが、この部分は現状特に速度に関してストレスを感じてないので適当に放置してる |
検証したらautoindexが張られておりさらにORDER BY RANDOMも適切に処理してくれるらしいのでこの部分は問題ないということが分かりました。 お騒がせしました。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: