[Cython] buffer interface -- boundscheck

Uwe Schmitt uschmitt at mineway.de
Fri Nov 14 14:11:29 CET 2008


Hi,

I'm using the buffer interface and have a question concerning
bound checks: The only way I now to avoid this is with
a cython decorator like this:

	@cython.boundscheck(False) 
	def fun()....

But this does not work before "cdef" declared function,
which I understand.

Is there another way to configure this behaviour inside
the code ? I found a hint on a commanline option, which
is not what I am interested in.

Greetings, Uwe


-- 
Dr. rer. nat. Uwe Schmitt
F&E Mathematik
 
mineway GmbH
Science Park 2
D-66123 Saarbrücken
 
Telefon: +49 (0)681 8390 5334
Telefax: +49 (0)681 830 4376
 
uschmitt at mineway.de
www.mineway.de
 
Geschäftsführung: Dr.-Ing. Mathias Bauer
Amtsgericht Saarbrücken HRB 12339




More information about the Cython-dev mailing list