A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-May/065170.html below:

[Python-Dev] Cost-Free Slice into FromString constructors--Long

[Python-Dev] Cost-Free Slice into FromString constructors--Long [Python-Dev] Cost-Free Slice into FromString constructors--LongRunar Petursson runar at runar.net
Thu May 25 17:59:18 CEST 2006
On 5/25/06, Guido van Rossum <guido at python.org> wrote:
>
>
> If you really need this for speed, I recommend you make it a custom
> extension.
>
> The custom extension is a good idea, and what we do now.  But now that the
long algorithm is so fast, it would be nice to expose it at least at the C
level to use a substring.  Any solution--be it buffer based or even an
module could have no reuse of the code without an End Pointer.  If we added
the end pointer to a FromSubstring (or somesuch) function (leaving
PyLong_FromString alone), it would be easily reused from any parsing
module.  Assuming it didn't have any negative performance implication.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20060525/8591e666/attachment-0001.htm 
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4