Ordered Set implementation in Cython