We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5c8d3c commit 82ec9a6Copy full SHA for 82ec9a6
src/engine/internal/engine.cpp
@@ -1876,6 +1876,9 @@ void Engine::compileMonitor(std::shared_ptr<Monitor> monitor)
1876
1877
for (const std::string &opcode : unsupportedBlocks)
1878
m_unsupportedBlocks.insert(opcode);
1879
+
1880
+ // Preoptimize to avoid lag when updating monitors for the first time
1881
+ compiler.preoptimize();
1882
} else {
1883
std::cout << "warning: unsupported monitor block: " << block->opcode() << std::endl;
1884
m_unsupportedBlocks.insert(block->opcode());
0 commit comments