Skip to content

shrink or resize arraylist in readUntilDelimiterArrayList #5670

@mjoud

Description

@mjoud

The use of array_list.shrink(0) in Reader.readUntilDelimiterArrayList could potentially be expensive (admittedly untested):

array_list.shrink(0);

Should array_list.resize(0) be used instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.standard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions