Front page | perl.perl5.porters |
Postings from August 2021
From: Darren Duncan
August 13, 2021 09:13
Message ID: firstname.lastname@example.org
On 2021-08-13 1:02 a.m., Tom Molesworth via perl5-porters wrote:
> On Fri, 13 Aug 2021 at 15:59, Darren Duncan wrote:
> I believe the best way to design this is to do something that directly mirrors
> the current blessed hashref approach, which is that you ALWAYS reference a slot
> in terms of a subscript of an object of the type.
> Strong disagreement from me on this - after using Object::Pad for a while, it's
> painful to go back to the old approaches.
> Slot access is a common operation, so I find the single-character Huffman
> encoding we have now to be an excellent fit.
I don't have a problem with the single character Huffman coding as an ADDITIONAL
option. But it needs to be in ADDITION to something like what I proposed,
because that Huffman option itself only gives access to slots for a single
object of the current class while mine works for all objects of the current
class. -- Darren Duncan