--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/1508357d-2ab4-4bd2-9640-d6d58bef3b4an%40googlegroups.com.
Is JSON faster than XML in terms of de/serialization? I wonder if JSON takes less overhead than XML?
Reason for asking is that we currently use XML and its quite slow to load xml -> textToDom -> domToWorkspace
Takes about ~15s to load ~4K blocks, this is on i7/3060 gaming laptop btw.
App Inventor is also interested in this process and I expect we will collect some data before/after to see how it goes.
My understanding at least is that DOM interactions are fairly slow whereas manipulating JSON objects is pretty well optimized. The JSON payload should also in theory be smaller due to not having to repeat the closing tags, so there is less data to download and process as a result.