[pypy-dev] Sorting structs

2016-09-26 Thread Tuom Larsen
Dear list! I stumbled upon a problem and I was wondering if someone would by so kind and explain to me what is going on. The problem is sorting 2 000 000 points by `x` coordinate: from random import random from time import time class point(object): def __init__(self, x, y):

Re: [pypy-dev] Change how a pypy executable finds its lib-python/lib_pypy directories?

2016-09-26 Thread Armin Rigo
Hi, On 25 September 2016 at 10:16, Armin Rigo wrote: > How about looking first from the place of the symlink itself, and if > not found, we dereference the symlink and look again? That can't work, because there is no way to know the path of the symlink to libpypy-c.so. We can only learn the der