Reply to post: Re: Nothing new...

For real this time, get your butt off Python 2: No updates, no nothing after 1 January 2020

Morten Bjoernsvik

Re: Nothing new...

>It's not well-suited - it's slow at computation and basic string processing and heavily relies on libraries >to keep up appearances.

Python has also very easy bindings to C via Cython, We had a string splicing bottleneck. Since strings in python are immutable, splicing in larger strings are something you should avoid, but the code existed, it was easier just to rewrite the module calls in C using char pointers and the speedup was around 30X.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon


Biting the hand that feeds IT © 1998–2020