Apr 2008 16:19:58 -0400
Subject: [PATCH] Improve memory management in join
* src/join.c (struct seq): Use a (struct line **) for `lines' rather than
one long (struct line *). This allows individual lines to be swapped out
if necessary.
(reset_line): Get a line ready for new input.
(init_line
es is larger than say, 70000?
I'll look at the patch itself in the next few days.
> Subject: [PATCH] Improve memory management in join
>
> * src/join.c (struct seq): Use a (struct line **) for `lines' rather than
> one long (struct line *). This allows individual lines to be
"Bo Borgerson" <[EMAIL PROTECTED]> wrote:
> This improves the performance of `join' by reducing memory management
> overhead and eliminating unnecessary copies for order checking:
>
> $ valgrind src/join.master ja jb
> ==23744== malloc/free: 4,571,152 allocs, 4,571,152 frees, 255,971,774
> bytes al