Paul Sokolovsky 645582fe14 py: Make id() return small int for the most common address space mapping.
Many OSes/CPUs have affinity to put "user" data into lower half of address
space. Take advantage of that and remap such addresses into full small int
range (including negative part).

If address is from upper half, long int will be used. Previously, small
int was returned for lower quarter of address space, and upper quarter. For
2 middle quarters, long int was used, which is clearly worse schedule than
the above.
2014-07-28 21:21:59 +03:00
..
2014-07-03 13:25:24 +01:00
2014-06-11 19:55:46 +01:00
2014-07-03 13:25:24 +01:00
2014-07-03 13:25:24 +01:00
2014-07-03 13:25:24 +01:00
2014-07-03 13:25:24 +01:00
2014-07-24 14:21:37 +01:00
2014-07-24 14:21:37 +01:00
2014-07-24 14:21:37 +01:00
2014-07-24 14:21:37 +01:00
2014-07-24 14:21:37 +01:00
2014-07-24 14:21:37 +01:00
2014-07-24 14:21:37 +01:00
2014-07-03 14:13:33 +01:00
2014-07-03 14:13:33 +01:00
2014-07-03 13:25:24 +01:00
2014-07-03 13:25:24 +01:00
2014-05-21 20:32:59 +01:00
2014-07-01 02:14:08 +03:00
2014-07-01 02:14:08 +03:00
2014-07-03 13:25:24 +01:00
2014-06-27 00:04:18 +03:00