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/2012-October/122074.html below:

[Python-Dev] Split unicodeobject.c into subfiles?

[Python-Dev] Split unicodeobject.c into subfiles? [Python-Dev] Split unicodeobject.c into subfiles?Victor Stinner victor.stinner at gmail.com
Thu Oct 4 23:40:05 CEST 2012
2012/10/4 Benjamin Peterson <benjamin at python.org>:
> 2012/10/4 Victor Stinner <victor.stinner at gmail.com>:
>> I only see one argument against such refactoring: it will be harder to
>> backport/forwardport bugfixes.
>
> I imagine it could also prevent inlining of hot paths.

It depends how the code is compiled. The stringlib is splitted in many
.h files, but it is able to use Py_LOCAL_INLINE.

If the code is grouped correctly, we may not loose any nice optimization at all.

FYI #include "test.c" is allowed in C ;-)

Victor
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