Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pynuttx: optimize memory leak check by skipping previously checked po…
…inters Reduce leak analysis time from 12s to 7.8s, achieving a 35% performance improvement that tested on an internal project. 1. Use memoryview to avoid creating int objects, reducing overhead 2. Store checked pointers in a dictionary for efficient lookups, improving performance. 3. While dictionary operations have some cost, the overall speedup is significant. Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
- Loading branch information