On 5/30/06, Bruno Haible <[EMAIL PROTECTED]> wrote:
> +tmp = realloc (out, pos + BUFSIZ);
Quadratic runtime behaviour: if you don't have particular luck with the
realloc()
implementation, for large files, this loop will spend most of its time in
realloc(), copying memory around.
Since I w
Simon Josefsson wrote:
> This is used in GnuTLS, and I need it in Shishi now, so I thought that
> it should be a module. What do you think?
I agree it's common enough that we can use it in gnulib.
> Possibly, there should be a xstrfile too, that uses xrealloc...
Yes.
> Index: modules/strfile