[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string port slow output on big string
From: |
Kevin Ryde |
Subject: |
Re: string port slow output on big string |
Date: |
Tue, 02 Aug 2005 09:48:10 +1000 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
I made the change below, it leaves the code alone, just grows the
buffer more each time, by a factor 1.5x so copying time is no longer
quadratic in the output size.
I think I'll do this in the 1.6 branch too. Backtraces there have
been slow to the point of unusable for me in some parsing stuff I've
been doing with say 50k or so strings in various parameters. (The
backtrace goes via an output string so that it can truncate big args
like that.)
strports.c.diff
Description: Text document
- Re: string port slow output on big string,
Kevin Ryde <=