freakified / TimeStylePebble

A stylish, customizable face for the Pebble Time.
MIT License
177 stars 84 forks source link

New faster settings format #63

Closed tsymbaliuk closed 8 years ago

tsymbaliuk commented 8 years ago

Now this watchface takes up to 2.5 seconds for start and 1 second to end at least at APLITE. This is because lots of persistread... and persistwrite... methods are called (each of them takes nearly 50ms). This commit reduces those calls to 3 for loading and 2 for saving. Previous settings would be saved.

tilden commented 8 years ago

Awesome! I've known about this optimization for a while but I'm lazy :smile: I will definitely work to get this into the next release! Thanks!

tsymbaliuk commented 8 years ago

Cool! Thank you!