Some profiling revealed that most of the slowness behind code regeneration (#35) is due to the DOM updating Blockly is doing while we set the main workspace. However, Blockly recently added support for a headless mode, which means code regeneration will be sped up immensely if we enable it. Let's do that!
Some profiling revealed that most of the slowness behind code regeneration (#35) is due to the DOM updating Blockly is doing while we set the main workspace. However, Blockly recently added support for a headless mode, which means code regeneration will be sped up immensely if we enable it. Let's do that!