<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Aah, das erklärt es.<div><br></div><div>Mit cpdef statt cdef komme ich immer noch auf 0,38 Sekunden. Das ist schon in Ordnung!</div><div><br></div><div>Vielen Dank!</div><div><br><div apple-content-edited="true">
</div>
<br><div><div>Am 06.12.2013 um 12:21 schrieb Christopher Arndt <<a href="mailto:chris@chrisarndt.de">chris@chrisarndt.de</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; ">Ich habe einige Funktionen im Cython-Code als "cdef" definiert. Dadurch könne sie nur von Cython-Code aus aufgerufen werden (und sind ggf. etwas schneller, weil man den Typ des Returnwerts deklarieren kann). Du kann versuchen, sie als "cpdef" zu definieren.</span></blockquote></div><br></div></body></html>