Re: Sort hash keys in C...

2008-05-15 Thread Rudolf Lippan
On Thu, 15 May 2008 13:21:34 +0100, Tim Bunce <[EMAIL PROTECTED]> wrote: > I'm sorry for the delay in responding Rudy. > > On Wed, May 07, 2008 at 02:34:43AM -0400, Rudy Lippan wrote: > >> use Scalar::Util qw(looks_like_number); >> sub _get_sorted_hash_keys { >> my ($hash_ref, $sort_type)

Re: Sort hash keys in C...

2008-05-15 Thread Tim Bunce
I'm sorry for the delay in responding Rudy. On Wed, May 07, 2008 at 02:34:43AM -0400, Rudy Lippan wrote: I think it would be better to keep appending to an sv rather than try to pre-guess the size. That would avoid the need for the malloc/realloc/free. >>> Well it would avoid my having t