Changes between Initial Version and Version 1 of Ticket #18514, comment 207


Ignore:
Timestamp:
01/14/18 14:45:32 (2 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18514, comment 207

    initial v1  
    11Replying to [comment:205 SimonKing]:
    2 > Replying to [comment:203 jdemeyer]:
    3 > > > Wouldn't that involve a mild slow-down?
    4 > >
    5 > > Yes, it does involve a significant (in the statistics sense) slowdown, but only at the Python -> Cython boundary. If your package is all Cython, then there should be no slowdown within your package. So that leaves the boundary between user code and your package. Do you expect many calls to your package in tight Python loops? If not, then I would go for the `binding=True` solution.
    6 >
    72> I do care for speed, but I think all tight loops occur in Cython, not Python.
    83
     
    105
    116In any case, you could use `binding=True` and do the timings again to check.
    12 >
    13 > In any case, the only real problem for building the docs is to determine the argspec of methods and functions. The new package solves it with `compiler_directives={'embedsignature': True}` and some helper functions that you can find in pyxsources/doc/sources/conf.py