Skip to content

Constructor should make a copy #53

@nalimilan

Description

@nalimilan

The following constructor should make a copy:

(T::Type{<:StringArray})(arr::AbstractArray{<:STR}) = convert(T, arr)

This is not a problem in practice when the input is not a StringArray since a new array will have to be allocated, but we should add a method calling copy for StringArray inputs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions