[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: pseudohash module
On Fri, 14 Jan 2000, london@pixelmagic.com wrote:
>
> not sure how pseudohashes are implemented in perl.
> the attached module creates a pseudohash class
> that behaves consistent with a real hash.
>
> it does slow down some methods/functions that
> have to filter out deleted keys.
> dont know if it gains anything, but it does
> appear to behave like a real hash then.
1) Your new() has a bug.
2) have you benchmarked it against a real hash - that's part of the point
of psuedo hashes.
3) There are modules on CPAN that do this.
4) Another point of psuedo hashes is transparency to the user.
--
<Matt/>
Details: FastNet Software Ltd - XML, Perl, Databases.
Tagline: High Performance Web Solutions
Web Sites: http://come.to/fastnet http://sergeant.org
Available for Consultancy, Contracts and Training.
- References to:
-
london@pixelmagic.com
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]