Hash::int

provide a hash with native integer keys

NAME

Hash::int - provide a hash with native integer keys

SYNOPSIS

use Hash::int;

my %hash is Hash::int = 42 => "foo", 666 => "bar";

DESCRIPTION

Hash::int is module that provides the Hash::int class to be applied to the initialization of an Associative, making it limit the keys to native integers that fit the int type. This allows this module to take some shortcuts, making it up to 7x as fast as a normal hash.

AUTHOR

Elizabeth Mattijsen [email protected]

Source can be located at: https://github.com/lizmat/Hash-int . Comments and Pull Requests are welcome.

COPYRIGHT AND LICENSE

Copyright 2021 Elizabeth Mattijsen

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

Hash::int v0.0.3

provide a hash with native integer keys

Authors

  • Elizabeth Mattijsen

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Hash::int

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.