Bernhard Schmalhofer via RT wrote:
I assume that the Hash PMC should also be used by PIR code in
'runtime/parrot/library'. In that case returning PMCNULL is not nice, as
the returned PMC can't even be queried for it's type.
So for now a None PMC is returned for non-existent keys.
However this is no
Bernhard Schmalhofer via RT wrote:
The attached patch makes the Hash PMC use basic PMCs by default. Native
integers, numbers and strings are now stored as Integer, Float and
String PMCs. For keys without values, the Undef PMC is returned, as it
is laid out in pdd17.
As already mentioned: the Hash