chromatic wrote:
On Sunday 21 June 2009 04:31:42 Parrot wrote:

 Currently parrot's hash (not PMC Hash) officially supports C-strings and
 C-pointers as keys. I can't find any usage of it and propose to deprecate
 them. (And make C-string and C-pointer keys in hash it virtually
 impossible to make bullet-proof anyway)

Are you sure?  I'm certain I've used them a few times.

Yeah... Found couple of them.

a) 1 usage of cstring Hash in string/api.c for constants. Can be easily converted to normal STRING*. (Thinking little bit) Hey. What about unicode constants? Especially UCS2?

b) 1 usage of cpointer Hash. Used for Packfile_Constants. AFAIU we are going to use Packfile PMCs for everything in some bright and shiny future. So I can't see any problems here.

--
Bacek
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to