Usage of native/viper emitters for libraries #11157
ThinkTransit
started this conversation in
General
Replies: 2 comments 3 replies
-
Your assumption is correct. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Optimize for speed, or size? , you get to pick one only. Assuming you are after speed, there are more options than just adding a decorator. https://docs.micropython.org/en/latest/reference/speed_python.html#maximising-micropython-speed |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I wanted to try and optimise a library, would I need modify and decorate every function or is there a shortcut?
I did a simple test and all three returned the same time so I imagine the emitter only applies to the code immediately inside the decorated function?
Beta Was this translation helpful? Give feedback.
All reactions