No description provided.
use nPrevNodeCount instead of calling vNodes.size() twice #1413
pull Diapolo wants to merge 1 commits into bitcoin:master from Diapolo:net_cpp_reuse_var changing 1 files +1 −1-
Diapolo commented at 11:43 AM on June 3, 2012: none
-
use nPrevNodeCount instead of calling vNodes.size() twice d4e1420665
-
gavinandresen commented at 12:13 PM on June 3, 2012: contributor
NACK-- the compiler is perfectly able to do this kind of micro-optimization, and the code is clearer in its original form in my opinion.
- Diapolo closed this on Jun 3, 2012
- lateminer referenced this in commit f395cfa1c8 on Jan 22, 2019
- lateminer referenced this in commit 4fdd3225b3 on May 6, 2020
- DrahtBot locked this on Sep 8, 2021