You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The udata variable obviously has size issues, already pointed out in #17, but I was thinking that pre-compressing it in the build phase would be able to significantly cut it down in size. For example, using the following process to compress that variable's content:
Stringify the JSON.
Compress it with bzip2 (near the top in both speed and efficiency).
Base64-encode it. This will help remove some redundancy.
Include that as a string in the built source.
And then, on load or first use on the target side:
Decode it.
Decompress it. (should be significantly faster than compression)
Parse the JSON.
Ready to use.
The text was updated successfully, but these errors were encountered:
The
udata
variable obviously has size issues, already pointed out in #17, but I was thinking that pre-compressing it in the build phase would be able to significantly cut it down in size. For example, using the following process to compress that variable's content:And then, on load or first use on the target side:
The text was updated successfully, but these errors were encountered: