Skip to content

Feature request : r_vector shrink_to_fit #128

Closed
@meztez

Description

@meztez

If the list capacity is greater the number of elements added to a list (because of the way reserve works). A list with padded null element can be returned to R.

std::vector has a shrink_to_fit method, could it be feasible to have a similar method?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions