Skip to content

@micropython.native or mpy #9225

Discussion options

You must be logged in to vote

If you ask about runtime speed, there is not difference between a .py and a .mpy version. It is just a when and where the converting from .py to .mpy happens. Standard code and @micropython.native code have a difference in code execution speed. As a rule of thumb, @micropython.native code runs twice as fast.
So it is not a question of .mpy or @micropython.native code

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by beetlegigg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants