Fix for #9 . It's unfortunately not really practical to figure out when a slice has been pre-allocated so we allocate the slice regardless. I don't quite like it, but if I can't tell if a slice has been allocated or is undefined the safer approach is to always allocate.
Fix for #9 . It's unfortunately not really practical to figure out when a slice has been pre-allocated so we allocate the slice regardless. I don't quite like it, but if I can't tell if a slice has been allocated or is
undefined
the safer approach is to always allocate.