
I just triggered translation here: http://codespeak.net:8099/builders/pypy-c-lib-python-win-32/builds/23/steps/... and I noticed that there are 48 implement files. Is it because files are split to smaller chunks for some reason, or something went wrong along the lines? Cheers, fijal

On Wed, Jan 21, 2009 at 00:17, Maciej Fijalkowski <fijall@gmail.com> wrote:
I just triggered translation here:
http://codespeak.net:8099/builders/pypy-c-lib-python-win-32/builds/23/steps/...
and I noticed that there are 48 implement files. Is it because files are split to smaller chunks for some reason, or something went wrong along the lines?
It's normal if you consider this code in translator/c/genc.py: SPLIT_CRITERIA = 65535 # support VC++ 7.2 [...] if py.std.sys.platform != "win32": split_criteria_big = SPLIT_CRITERIA * 4 else: split_criteria_big = SPLIT_CRITERIA Old versions of Visual Studio had problems with large files. Even today, debug information is wrong when lineno>65536. -- Amaury Forgeot d'Arc

hi, I guess you already know that newer versions of gcc are slower with larger files. It can be faster even for gcc to split up files into smaller pieces. cheers, On Wed, Jan 21, 2009 at 10:40 AM, Amaury Forgeot d'Arc <amauryfa@gmail.com> wrote:
On Wed, Jan 21, 2009 at 00:17, Maciej Fijalkowski <fijall@gmail.com> wrote:
I just triggered translation here:
http://codespeak.net:8099/builders/pypy-c-lib-python-win-32/builds/23/steps/...
and I noticed that there are 48 implement files. Is it because files are split to smaller chunks for some reason, or something went wrong along the lines?
It's normal if you consider this code in translator/c/genc.py:
SPLIT_CRITERIA = 65535 # support VC++ 7.2 [...] if py.std.sys.platform != "win32": split_criteria_big = SPLIT_CRITERIA * 4 else: split_criteria_big = SPLIT_CRITERIA
Old versions of Visual Studio had problems with large files. Even today, debug information is wrong when lineno>65536.
-- Amaury Forgeot d'Arc
participants (3)
-
Amaury Forgeot d'Arc
-
Maciej Fijalkowski
-
René Dudfield