Python performance characteristics

前端 未结 6 373
再見小時候
再見小時候 2020-12-08 03:23

I\'m in the process of tuning a pet project of mine to improve its performance. I\'ve already busted out the profiler to identify hotspots but I\'m thinking understanding Py

6条回答
  •  独厮守ぢ
    2020-12-08 04:04

    Here's what's interesting.

    • Data Structure

    • Algorithm

    Those will yield dramatic improvements.

    Your list is good for -- at best -- a few single-digit performance improvements.

    You need to fundamentally rethink your data structures if you want to see real speed improvements.

提交回复
热议问题