Round up all string length requests to malloc()/realloc() to the next
authorNicholas Clark <nick@ccl4.org>
Wed, 1 Jun 2005 20:46:02 +0000 (20:46 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 1 Jun 2005 20:46:02 +0000 (20:46 +0000)
commit1936d2a74fbc35dd0d6862386c9988d92bb8e6e0
tree09a500b0d6951b724685d60716d06c2d8ac13770
parentdfe4365adac588e79ad9eb543e18d4db0a1c81a2
Round up all string length requests to malloc()/realloc() to the next
multiple of 4/8 bytes [sizeof(size_t)] on the assumption that malloc()
internally will quantise, and so we're going to use space that
otherwise would be wasted. Hopefully this will save realloc()ing.

p4raw-id: //depot/perl@24665
ext/Devel/Peek/t/Peek.t
handy.h
perl.h
sv.c