Re: Hypermail - PushByte function is slow!!!

From: Peter C.McCluskey <>
Date: Mon, 22 Mar 2004 09:22:29 -0800 (PST)
Message-Id: <> (Frank Naude) writes:
>I've recompiled hypermail with profiling (added -pg to CFLAGS) to
>identify slow functions. It looks like the PushByte() function is the
>most expensive function in the entire program. What is this function's
>purpose, and what can be done to speed it up?

 It does memory allocation for strings. It could probably be speeded up by allocating more memory at a time, at the cost of increased complexity and/or increased memory use.

Peter McCluskey          | I see no greater impediment to scientific progress | than the prevailing practice of focusing all of
                         | our mathematical resources on probabilistic and
                         | statistical inferences while leaving causal con-
                         | siderations to the mercy of intuition - J. Pearl
Received on Tue 23 Mar 2004 01:59:42 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:55 PM GMT GMT