Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21323
| From | Stefan Behnel <stefan_ml@behnel.de> |
|---|---|
| Subject | Re: Porting the 2-3 heap data-structure library from C to Python |
| Date | 2012-03-07 17:18 +0100 |
| References | <mailman.465.1331130346.3037.python-list@python.org> <87boo89zul.fsf@xemacs.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.473.1331137103.3037.python-list@python.org> (permalink) |
Hrvoje Niksic, 07.03.2012 16:48: > Alec Taylor writes: > >> The source-code used has been made available: >> http://www.cosc.canterbury.ac.nz/research/RG/alg/ttheap.h >> http://www.cosc.canterbury.ac.nz/research/RG/alg/ttheap.c >> >> 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. Stefan
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Porting the 2-3 heap data-structure library from C to Python Alec Taylor <alec.taylor6@gmail.com> - 2012-03-08 01:25 +1100
Re: Porting the 2-3 heap data-structure library from C to Python Hrvoje Niksic <hniksic@xemacs.org> - 2012-03-07 16:48 +0100
Re: Porting the 2-3 heap data-structure library from C to Python Stefan Behnel <stefan_ml@behnel.de> - 2012-03-07 17:18 +0100
Re: Porting the 2-3 heap data-structure library from C to Python Hrvoje Niksic <hniksic@xemacs.org> - 2012-03-11 02:03 +0100
Re: Porting the 2-3 heap data-structure library from C to Python Terry Reedy <tjreedy@udel.edu> - 2012-03-10 21:17 -0500
Re: Porting the 2-3 heap data-structure library from C to Python Stefan Behnel <stefan_ml@behnel.de> - 2012-03-11 08:41 +0100
csiph-web