Hi,
Using cython, I want to make optimal use of static data. The reason is
that lookup is (often) much faster than recalulating. I now use:
cdef list nice_list_name=[3 , 3 , 3 , 3 , 3 , 3 , 4 , 4 , 4 , 4 , 4 ,
4 , 4 , 4 , 4 , 5 , 5 , 5 , et cetera]
But this didn't increase the speed.
On Jun 7, 2010, at 8:04 AM, Rolandb wrote:
Hi,
Using cython, I want to make optimal use of static data. The reason is
that lookup is (often) much faster than recalulating. I now use:
cdef list nice_list_name=[3 , 3 , 3 , 3 , 3 , 3 , 4 , 4 , 4 , 4 , 4 ,
4 , 4 , 4 , 4 , 5 , 5 , 5 , et cetera]