speed improvements
Okay, so the website scores were quite slow. They are faster now! I started storing the high score along with the level so it doesn't have to do a query every time. The only disadvantage of this is it has to compare the high score with the current high score every time you submit. So now I ran through all the Noob and Tutorial levels to test it out. Unfortunately since all the older scores weren't submitted with the new update, they won't be listed(although they are listed in the actual scores for the level). Since I will be clearing the scores eventually, it really isn't a big deal.
Well, hope the site works faster for you, it still takes a second or two to load all the levels but it is a lot of data, and there won't be any problem with scaling because it is only dependent on the level count.

0 comments:
Post a Comment