The first time the function is called, it will be executed and compiled. Subsequent calls will run the compiled version.
1 2 |
fun |
The function to be compiled. |
argTypes |
An optional list of some or all Numble type specs for function arguments. If any argument types are missing these will be determined at the first invocation. |
returnType |
An optional Nimble type spec for the return value. If not provided, this will be determined by calling the uncompiled function once. |
name |
An optional name to be used for the compiled code. |
backend |
The target back-end for compilation. Options include: 'C++', or 'Nimble' for the Nimble DSL. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.