[Python-Dev] Type of range object members (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed Aug 16 03:47:37 CEST 2006
- Previous message: [Python-Dev] Type of range object members
- Next message: [Python-Dev] Type of range object members
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
On 8/15/06, James Y Knight <foom at fuhm.net> wrote:
There's no particular reason that a short int must be able to store the entire range of C "long", so, as many bits can be stolen from it as desired. There isn't? Actually a lot of APIs currently assumen that.
Also it means you'd pay a penalty every time you access it, whereas presumably short ints are the case we want to optimise for speed as well.
-- Greg
- Previous message: [Python-Dev] Type of range object members
- Next message: [Python-Dev] Type of range object members
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]