1. 10
  1.  

  2. 4

    Good post that at least exposes Python programmers to memory issues, fwiw lots of folks using Python have no concept of what occurs below the code.

    I think it would have been nice to go into other mitigation strategies and how to measure if memory usage from object bloat is actually impacting your system. One very effective technique that wasn’t described is using the cffi to create arrays of structs (easy) and the other one alluded in post is struct of arrays (ECS from gamdev) that are extremely compact and how to effectively compute over those in memory structures.