parrot-dev Digest, Vol 24, Issue 11

luben karavelov luben at unixsol.org
Wed Aug 11 20:32:48 UTC 2010


On 11.08.2010 22:45, luben karavelov wrote:
>
> As a part of the hash-cleanup effort, I have attached a patch that moves
> the checks for constant keys/values out of the src/hash.c in
> corresponding PMCs. All test pass. The only functional difference is
> that if hash table is constant and is indexed by PMC I also check that
> key PMC is constant.

It looks that the new behaviour that check PMC keys if they are constant 
is putting weight on our calling convention.

So here is a patch that does the same as above, but do not introduce new 
checks.

luben
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hash-constant-cleanup-old-behavour.diff
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20100811/49cf7fd9/attachment-0001.diff>


More information about the parrot-dev mailing list