commit | 71adc9328d593449a7d8d3bff45b09bf87afa59e | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Mon Sep 28 16:52:40 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Mon Sep 28 16:52:40 2009 +0000 |
tree | 55c54fa161e83c108d1e1dca97b26a37875316d3 | |
parent | b331802f976c85954efbeb7a49f2591951460be2 [diff] |
Style/consistency/nano-optimization nit: replace occurrences of (high_bits << PyLong_SHIFT) + low_bits with (high_bits << PyLong_SHIFT) | low_bits in Objects/longobject.c. Motivation: - shouldn't unnecessarily mix bit ops with arithmetic ops (style) - this pattern should be spelt the same way thoughout (consistency) - it's very very very slightly faster: no need to worry about carries to the high digit (nano-optimization).