Skip to content

WASM binaries for meshoptimizer #321

Answered by zeux
sanjeetsuhag asked this question in Q&A
Discussion options

You must be logged in to vote

It's for ease of distribution as well as faster cold start - it removes a dependent web request. I should mention that based on how caching is implemented today in browsers I wouldn't recommend this for large binaries - it only works well here because the binaries are pretty small (<10KB).

Also, important point - this isn't Base64 :) It's a special encoding optimized for compressibility of the final result. Base64 files are larger and compress much worse. See #141 and #73 (comment)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zeux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #320 on July 22, 2021 18:28.