strudel icon indicating copy to clipboard operation
strudel copied to clipboard

code splitting

Open felixroos opened this issue 3 years ago • 1 comments

a ton of traffic could be saved when code splitting individual packages, like tune.js:

chunks

it could work to dynamically import packages when needed. not sure how as eval still needs all the available functions from each package..

felixroos avatar Sep 10 '22 21:09 felixroos

worth noting that tune.js is gzipped "just" around ~300kB but still pretty large for a non core function

felixroos avatar Sep 10 '22 21:09 felixroos

I'll close this.. the issue is not with code splitting but with xen just being large. it is already codesplitted ( it's an extra bundle in the screenshot ). added a note to https://github.com/tidalcycles/strudel/issues/229

felixroos avatar Mar 03 '23 18:03 felixroos