I tried simple test on IPython. a = range(10000) %timeit _bencode_pyx.bencode(a) Cython: 2.5ms Pyrex: 3.04ms Now Bazaar uses Pyrex when both of Pyrex and Cython is installed. How about use Cython for default? -- INADA Naoki <songofacandy at gmail.com>