Why is `append()` so slow for some objects?

前端 未结 0 1373
-上瘾入骨i
-上瘾入骨i 2020-12-29 09:54

I\'m doing some manual profiling of my code, and I found an unexpected slow spot: appending certain objects to a list.

The code is in a constructor:

cl         


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