develooper Front page | perl.perl6.internals | Postings from July 2002

[RFC] PerlHash vs FiniteMapping

Thread Next
Alberto Manuel Brandão Simões
July 17, 2002 07:33
[RFC] PerlHash vs FiniteMapping
Message ID:

Some of you (Dan) knows that I'm working on a project to generate Parrot
code from a specification programming language. 

On these language, data-structures are very similar with mathematical
constructs. I will need a finite mapping (or finite function) which maps
objects (any type) to objects (any type).

At the moment, PerlHash maps Strings to PMC's (well.. anything which can
be converted to string to PMC's). The question for comments is: will
perlHash do what I want, or should I investigate on a new PMC?

And, if I should write a new PMC, some idea for the hash function?
(compare each with eachother is not efficient).

Regards, Alberto
Alberto Manuel B. Simoes
Departamento de Informática - Universidade do Minho -

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About