[parrot/parrot] 339268: make available to HLLs two new derived hash key ty...

noreply at github.com noreply at github.com
Wed Mar 30 23:38:34 UTC 2011


Branch: refs/heads/master
Home:   https://github.com/parrot/parrot

Commit: 33926852247f8c0fc0c964c88235adcfad1a71bd
    https://github.com/parrot/parrot/commit/33926852247f8c0fc0c964c88235adcfad1a71bd
Author: Peter Lobsinger <plobsing at gmail.com>
Date:   2011-03-30 (Wed, 30 Mar 2011)

Changed paths:
  M src/pmc/hash.pmc

Log Message:
-----------
make available to HLLs two new derived hash key types - PMC_ptr and STRING_enc

By default key types are unavailable to HLLs because they are "dangerous". However, these
types are derived from PMC and STRING key types, differing only in comparison function.

Also, simplify chained if-else into a switch.




More information about the parrot-commits mailing list