indygreg accepted this revision.
indygreg added a comment.
This revision is now accepted and ready to land.

  This is super hacky. That's par for the course for this file, sadly.
  Also, I'm kinda surprised we're fully realizing the Python tuple to represent 
stat results. If we made tuple attribute access lazy, that would probably make 
`hg status` a bit faster, since we never access every field of that tuple. 
These kinds of things never show up in Python profilers though. And it is 
difficult to pin performance problems on Python object creation. But we know it 
is a very real thing. Obviously work for another day.

  rHG Mercurial


To: durin42, #hg-reviewers, indygreg
Cc: spectral, indygreg, mercurial-devel
Mercurial-devel mailing list

Reply via email to