Skip Menu |

This queue is for tickets about the Integer-Tiny CPAN distribution.

Report information
The Basics
Id: 121938
Status: open
Priority: 0/
Queue: Integer-Tiny

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.3
Fixed in: (no value)



Subject: p2c is a hashref
An arrayref would be more logical, give a tiny speed boost, and slightly reduce memory usage. I think the only argument for using a hashref is consistency with c2p.
Indeed. And that's how it is done in Perl 6 implementation: https://github.com/bbkr/TinyID/blob/master/lib/TinyID.pm#L9 . I'll change it soon. Thanks for the report.