Closed
Description
This library uses a LOT of memory. Just importing the library uses 91,872 bytes 😲
I'm slowly working through it trying to reduce this.
I've raised #12 to change from depending on CircuitPython_HMAC and Adafruit_CircuitPython_Hashlib, to instead having just the bits needed and that saves 18,640 bytes.
As I make more memory reductions I'll add them here and link the PRs.
We could also save about ~6,000 bytes by splitting this into two libraries - one for IoT Hub and one for IoT Central. It's very unlikely someone will want to connect to both from the same project. @brentru - what do you think about this?
Metadata
Metadata
Assignees
Labels
No labels