git merge

I’m so used to git merge doing the right thing re: merging files – and possibly used to working mostly by myself – that when git merge fails I always expect something messy has happened. However, just now, I got a merge complain that amounted to this: from setuptools import setup, find_packagessetup( … some things… Read More git merge

cdef vs cpdef

In a .pyx file if you want a function that you declared as cdef (e.g. because you want inlining) to be visible to the Python interpreter, you need to use cpdef instead. However, it seems the cpdef version is a lot less efficient than cdef, and it might be better to have a wrapper of… Read More cdef vs cpdef