helium / cortex-mpu

Cortex-M MPU library
Apache License 2.0
6 stars 5 forks source link

Use of ArrayVec might be inefficient #1

Open jonas-schievink opened 4 years ago

jonas-schievink commented 4 years ago

ArrayVec tends to optimize relatively badly. I've used it to express the constraint "up to N memory regions", so we'd have to find a different way to express that.

Ideally the generated code shouldn't do more than just store any dynamic values and create a list of Regions.