NAME ^

examples/benchmarks/hash-utf8.pasm - UTF-8 Hash Keys

SYNOPSIS ^

    % ./parrot examples/benchmarks/hash-utf8.pasm

DESCRIPTION ^

 As soon as the first non-ASCII key is stored in a Hash, all keys are
 converted to UTF-8.
 
 This benchmark creates aC<PerlHash> PMC and stores 676 entries. Then
 converts one key to UTF-8 and times 1000000 look-ups.

SEE ALSO ^

src/hash.c.


parrot