bytearray resize memory penalty #14080
Unanswered
kjm1102
asked this question in
Using MicroPython
Replies: 1 comment 5 replies
-
@kjm1102 you still have |
Beta Was this translation helpful? Give feedback.
5 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 run
from the prompt in the IDE I get
If I run it again I get
Since I'm not setting up a new variable, just redefining Q to be 2k smaller with Q=bytearray(q), I was expecting the second result the first time around. Why the 18k memory loss the first time?
Beta Was this translation helpful? Give feedback.
All reactions