Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Do the semantics of BooleanArray allow storage of undef values? You'll need an extra bit, if so....
    • Well, basically it is up to you, as the standard PMCs are a design matter.

      However, if BooleanArray should keep track of definedness, then I propose to have a BitVector PMC with the current behavior.

      What is also missing for PMCs, is a standard way of passing setup params. For the FixedBooleanArray it would be nice to pass an initial size and an initial storage size. Thus an FixedBooleanArray could start with a size of 0 and grow up to the allocated size.

      /* */