SpeedcuberOSS / speedcuber-timer

The smart, offline-ready speedcubing Android/iOS app made for speedcubers, by speedcubers.
Mozilla Public License 2.0
3 stars 0 forks source link

perf: Convert `Puzzle` to `string` type #89

Closed thehale closed 9 months ago

thehale commented 1 year ago

The Puzzle STIF type is currently just an id field. Storing the whole object structure for a 3-5 character string is simply overkill.

Having a full object might make sense for recording information about more complex puzzles. For the standard WCA puzzles, however, the string id ought to be sufficient.