Optimize even further Stats.accumulate as it's a hotspot: don't create a new Stats...
commitb37a69a71fece0531f922cd9fd257a50f2064fa7
authorGuillaume Chazarain <guichaz@gmail.com>
Sat, 29 Aug 2009 10:45:11 +0000 (29 12:45 +0200)
committerGuillaume Chazarain <guichaz@gmail.com>
Sat, 29 Aug 2009 10:45:11 +0000 (29 12:45 +0200)
tree3066e45fa2c0579b54a5e817ee5a5ef2cf892521
parent96e339369f7ee071fe76ae72ad2a7df9df249f84
Optimize even further Stats.accumulate as it's a hotspot: don't create a new Stats object everytime on every invocation, keep updating the same object.
iotop/data.py