Acme-CPANModules-OrderedHash
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
% bencher --module-startup --cpanmodules-module OrderedHash
For more options (dump scenario, list/include/exclude/add participants,
list/include/exclude/add datasets, etc), see bencher or run "bencher
--help".
DESCRIPTION
When you ask a Perl's hash for the list of keys, the answer comes back
unordered. In fact, Perl explicitly randomizes the order of keys it
returns everytime. The random ordering is a (security) feature, not a
bug. However, sometimes you want to know the order of insertion. These
modules provide you with an ordered hash; most of them implement it by
recording the order of insertion of keys in an additional array.
Other related modules:
Tie::SortHash - will automatically sort keys when you call keys(),
values(), each(). But this module does not maintain insertion order.
ACME::CPANMODULES ENTRIES
lib/Acme/CPANModules_ScenarioR/OrderedHash.pm view on Meta::CPAN
## no critic
package Acme::CPANModules_ScenarioR::OrderedHash;
our $VERSION = 0.003; # VERSION
our $results = do{my$var=[[200,"OK",[{_name=>"p_tags= participant=Tie::StoredOrderHash",_succinct_name=>"T:S ",errors=>1.1e-06,p_tags=>"",participant=>"Tie::StoredOrderHash",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>1.98603651987111,rate=>360,s...
1;
# ABSTRACT: List of modules that provide ordered hash data type
=head1 DESCRIPTION
This module is automatically generated by Pod::Weaver::Plugin::Bencher::Scenario during distribution build.
A Acme::CPANModules_ScenarioR::* module contains the raw result of sample benchmark and might be useful for some stuffs later.
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.394 second using v1.00-cache-2.02-grep-82fe00e-cpan-f73e49a70403 )