Message187085
Looking at the patch (haven't actually benchmarked it), I have two concerns with respect to performance:
a) The need for locking, this doesn't exist in the C or RPython versions because of the GIL. That locking is going to be distinctly un-free.
b) The need for manually masking overflowing arithmetic (yes I know, everything is a long, but just looking at it algorithmically, we really want the 2s complement).
I don't have an opinion about how to solve either of these, but without a solution I doubt performance will ever be competitive. I think it would be a mistake to assume these issues are specific to this patch, they strike me as generally applicable issues. |
|
Date |
User |
Action |
Args |
2013-04-16 14:31:41 | alex | set | recipients:
+ alex, brett.cannon, rhettinger, mark.dickinson, scoder, Arfrever, serhiy.storchaka |
2013-04-16 14:31:41 | alex | set | messageid: <1366122701.08.0.423072601396.issue16659@psf.upfronthosting.co.za> |
2013-04-16 14:31:41 | alex | link | issue16659 messages |
2013-04-16 14:31:40 | alex | create | |
|