jgchk / better-rym

Enhancements for RateYourMusic 🎧
55 stars 8 forks source link

bunch of optimizations #95

Closed lempamo closed 3 years ago

lempamo commented 3 years ago

slimmed down some code, now way less dependent on io-ts (and by extension, fp-ts). my goal was to remove a need for it from the code entirely, thus cutting down on a bunch of cached code that was only used for very little.

there's still the fetch&download files using io-ts types, havent figured out how to safely untangle them yet

in total for this pr, i managed to trim 80kb from the compiled dev src.js