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

[RFC] PerlHash vs FiniteMapping

Thread Next
From:
Alberto Manuel Brandão Simões
Date:
July 17, 2002 07:33
Subject:
[RFC] PerlHash vs FiniteMapping
Message ID:
1026916187.655.57.camel@scriptorium
Hi

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
http://alfarrabio.di.uminho.pt/~albie - http://numexp.sf.net


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About