From: Vincent Pit Date: Sat, 16 May 2009 08:47:44 +0000 (+0200) Subject: Be proud about being O(1) memory X-Git-Tag: v0.06~14 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=2506fbb7b9572d1dfbd5e776b236977c23d648dc;p=perl%2Fmodules%2FScalar-Vec-Util.git Be proud about being O(1) memory --- diff --git a/lib/Scalar/Vec/Util.pm b/lib/Scalar/Vec/Util.pm index b8d0616..db6adba 100644 --- a/lib/Scalar/Vec/Util.pm +++ b/lib/Scalar/Vec/Util.pm @@ -90,6 +90,7 @@ sub vfill_pp { Copies C<$length> bits starting at C<$from_start> in C<$from> to C<$to_start> in C<$to>. If C<$from_start + $length> is too long for C<$from>, zeros are copied past C<$length>. Grows C<$to> if necessary. +Doesn't need to allocate any extra memory. =cut