IIUC, resolving attributes for changelog can lead to some overhead. So this
patch moves that to outside of a for-loop.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG19ccc6788a27: discovery: move cl.hasnode outside of the for-loop
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
The series looks good to me after a very quick review. I think a more in-deep review will be necessary.
@pulkit Do you have measured some performance improvement with this series?
Comment Actions
I didn't. I am not sure whether this will have any significant performance benefit. I will try to have some numbers.
Comment Actions
@lothiraldan There is no significant performance benefit which I am able to notice. There is minor improvement of around 0.2 sec on our large repo but that is not stable.
I was reviewing one of the patches when I saw this code and found it needs some cleanup and did that.