This is done and committed into trunk. All methods names begin with an upper case letter for consistency. Keys, Values, and Pairs are compatible with the same in MCE::Shared::Hash which lacks indices for not being ordered.
## KeysInd (indices), ValuesInd (indices), PairsInd (indices) ## Keys (keys ), Values (keys ), Pairs (keys ) ## Pop, Push (merge ), Shift, Unshift (merge ), Splice ## PushNew (reorder), UnshiftNew (reorder),
Thus, MCE::OrdHash is mostly compatible with Tie::IxHash except for Keys and Values which take keys as arguments, not indices. KeysInd and ValuesInd come included receiving indices for compatibility.
Thank you, Mario
In reply to Re^4: MCE::OrdHash naming Push and Unshift methods supporting merging and reordering (Solved)
by marioroy
in thread MCE::OrdHash naming Push and Unshift methods supporting merging and reordering
by marioroy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |