Python and the need for speed

Paul Rubin no.email at nospam.invalid
Thu Apr 13 00:28:48 EDT 2017


Brecht Machiels <brecht__gmane at mos6581.org> writes:
> However, rinohtype is located in a very different niche and it would
> greatly benefit a lot from a speed boost. Rendering the Sphinx
> documentation (311 pages) takes almost 10 minutes on my i7

Yikes...

> As for moving to a compiled language (Nim or Rust would be interesting
> choices, IMO), it doesn't make much sense.

Have you tried PyPy?  Thought about Lisp?  Lisp is easily extensible and
goes well with the DSL idea.  Or if most of the time is used in some hot
loop, maybe a small C extension is the simplest fix.


More information about the Python-list mailing list