Skip to content

[R-Forge #1458] Add fast insert() function #660

@arunsrinivasan

Description

@arunsrinivasan

Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link

insert(DT, list(...))
and
insert(DT, ...)

This would grow DT, and memcpy the value in.
Possibly, even respecting keys, and doing a memmove to make space.

Related, tables() could report length and truelength separately. There could be an allocate(DT,n) function which increases truelength but not the length (allowing many quick insert()s if user knows that is about to happen).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions