apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <mt...@mappingsoft.com>
Subject RE: [PATCH] apr_hash.c -- Make table ordered
Date Thu, 11 Oct 2001 16:29:26 GMT


> -----Original Message-----
> From: Greg Stein [mailto:gstein@lyra.org]
> Sent: 10. listopad 2001 23:47
> To: Mladen Turk
> Cc: brane@xbc.nu; APR Dev List
> Subject: Re: [PATCH] apr_hash.c -- Make table ordered
> 
> I'm with Branko here...
> 
> -1
> 
> Hash tables are unordered entities. Pure and simple. If you want
something
> else, then introduce something else. But don't mess up hash tables to
add a
> concept which just doesn't belong.

OK!
I'll propose the two things:
1. apr_btree to be able to do the range-based searches 
2. apr_shash to be able to sort the hash table.

How that sounds?

MT.


Mime
View raw message