Skip to content

Clarification of statement regarding performance issues with .gltf and embedded data URIs #265

Answered by lexaknyazev
looeee asked this question in Q&A
Discussion options

You must be logged in to vote

Data URIs have two issues:

  • Large strings, compared to typical key-value pairs. This usually has noticeable impact on JSON parsing performance.
  • By design, base64 encoding increases data size by 33%.

Arguably, there could be a dedicated command that transforms between external and embedded URIs.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@looeee
Comment options

@nickholt15
Comment options

@donmccurdy
Comment options

@nickholt15
Comment options

@donmccurdy
Comment options

Answer selected by donmccurdy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
4 participants