python memory question: saving results to a list vs saving results to disk. Which is better for memory usage

后端 未结 0 1104
我在风中等你
我在风中等你 2021-02-13 09:10

I am trying to optimize some code for memory consumption. In my code I receive a list of datapoints, perform an action that changes each datapoint, and then save it to a list.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题