09.04.2013 22:00, Robert Bradshaw kirjoitti:
[clip]
> I am curious what percentage of the final .so file is boilerplate. A
> huge chunk of the .c code often is, but that consists largely of
> specialize macros and inline functions that (ideally) optimize away to
> nearly nothing.

FWIW, switching from np.ndarray+templating to fused types+memoryviews
increased the stripped size of scipy.interpolate.interpnd [1] from 368k
to 633k.

[1] https://github.com/scipy/scipy/pull/211

-- 
Pauli Virtanen

_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to