Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94802
| From | Stefan Behnel <stefan_ml@behnel.de> |
|---|---|
| Subject | Re: New module (written in C) for using the high-precision QD library |
| Date | 2015-07-31 09:26 +0200 |
| References | <3015c193-3a3f-468a-b998-94f77066febe@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1108.1438327616.3674.python-list@python.org> (permalink) |
baruchel@gmail.com schrieb am 30.07.2015 um 22:09: > It is written in pure C with the CPython C-API in order to get the highest possible speed. This is a common fallacy. Cython should still be able to squeeze another bit of performance out of your wrapper for you. It tends to know the C-API better than you would think, and it does things for you that you would never do in C. It also helps in keeping your code safer and easier to maintain. Your C code seems to be only about 1500 lines, not too late to translate it. That should save you a couple of hundred lines and at the same time make it work with Python 3 (which it currently doesn't, from what I see). Stefan
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
New module (written in C) for using the high-precision QD library baruchel@gmail.com - 2015-07-30 13:09 -0700
Re: New module (written in C) for using the high-precision QD library Stefan Behnel <stefan_ml@behnel.de> - 2015-07-31 09:26 +0200
Re: New module (written in C) for using the high-precision QD library baruchel@gmail.com - 2015-08-01 03:07 -0700
Re: New module (written in C) for using the high-precision QD library Chris Angelico <rosuav@gmail.com> - 2015-07-31 17:37 +1000
Re: New module (written in C) for using the high-precision QD library Stefan Behnel <stefan_ml@behnel.de> - 2015-07-31 10:40 +0200
csiph-web