Skip to content

Avoid boxing/unboxing in VBufferDataFrameColumn #6864

@asmirnov82

Description

@asmirnov82

VBufferDataFrameColumn stores public readonly struct Vbuffer items.
This column is implemented based on current StringDataFrame column implementation, however any string is a reference type and any Vbuffer is a value type, so there are several issues with current implementation. One is boxing/unboxing that happens on ever access by row index, another - unability to store null elements (#6852)

The goal of this issue is to avoid boxing/unboxing on indexing and throw NotSupported exception with clear explanation instead of null reference exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions