You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Brian Pane <bp...@pacbell.net> on 2001/12/02 05:18:58 UTC

[PATCH] optimization for apr_array_copy

apr_array_copy() makes a new array, fills it with null bytes,
and then overwrites it with a copy of the source array.

This patch optimizes away the zero-fill of the part of the
array that's about to be overwritten.

--Brian