Porting the 2-3 heap data-structure library from C to Python
stefan_ml at behnel.de
Wed Mar 7 17:18:06 CET 2012
Hrvoje Niksic, 07.03.2012 16:48:
> Alec Taylor writes:
>> The source-code used has been made available:
>> I plan on wrapping it in a class.
> You should get acquainted with the Python/C API
If it proves necessary, yes.
> which is the standard way of extending Python with high-performance
> (and/or system-specific) C code.
Well, it's *one* way. Certainly not the easiest way, neither the most
portable and you'll have a hard time making it the fastest.
More information about the Python-list