Re: Faster way of making long string?
I think if you did the conversion using Format() (in SysUtils.pas) in
batches of 100 or more in an array you'd find it even quicker. You
could make the format string once and re-use it (%d,%d,%d,%d,%d, etc
etc to 100 or more) AFAICS it allocates a long string as a buffer and
puts the converted chars into that.
Alan Lloyd
.
Relevant Pages
- Re: format sring question
... Lowell Kirsh wrote: ... If args are not given and the format string contains a '%', ... say this is broken behaviour when the conversion is applied on the result ... (comp.lang.python) - Proposal: String::Format::General
... It provides format string parsing and output assembly, you provide the code that implements the individual conversion characters. ... Format syntax is kind of a cross between sprintf and strftime, but how close it is to each of these depends on the semantics implemented by the user. ... Note that the following is pre-alpha documentation; the interface to the output conversion code has changed since yesterday, ... conversion character, and contain a number of optional fields which may ... (comp.lang.perl.modules) - Proposal: String::Format::General
... This should be considered pre-Alpha, since it has changed since yesterday, and I am seriously considering passing the format parameters to the output conversion code as a hash reference instead of a large number of arguments. ... Some limited heading capability is provided. ... This module provides a formatter class which allows its user to ... (comp.lang.perl.modules) - Proposal: String::Format::General
... It's almost a meta-formatter with the user providing individual conversion code behind a sprintf/strftime-like interface. ... A format is basically a string into which data are to be inserted. ... conversion character, and contain a number of optional fields which may ... (comp.lang.perl.modules) - Re: Proposal: String::Format::General
... It's almost a meta-formatter with the user providing individual conversion code behind a sprintf/strftime-like interface. ... A format is basically a string into which data are to be inserted. ... conversion character, and contain a number of optional fields which may ... (comp.lang.perl.modules) |
|