mikemcbride / vue-sudoku

Sudoku solver written in Javascript
https://sudoku.mcbrides.us
MIT License
5 stars 1 forks source link

Address performance in rendering #2

Closed mikemcbride closed 5 years ago

mikemcbride commented 5 years ago

On most puzzles, they are solved so quickly it doesn't matter. But the operations here do lock the browser. So when you choose an Evil level puzzle, it hangs for a couple seconds. What should happen is that we should see the numbers updating as the calculations are being performed. I'm thinking we probably need to move away from Vuex for everything and only use it to store some basic stuff.

Inspirations: https://github.com/Akryum/vue-9-perf-secrets https://twitter.com/0xca0a/status/1133329007800397824

mikemcbride commented 5 years ago

this is fixed 😄