Skip to content

Arrays from native memory #41

@Neiko2002

Description

@Neiko2002

If we know the correct layout (header, padding and content structure) of an primitive type array we can create the same layout in native memory and create an java object out of it using the code below.
https://gist.github.com/Neiko2002/be6301482f5fcdeb003337bb1714972e

A RecordSequence for primitive types could allocate additional bytes upfront and fill them with the correct header of an array of the same primitive type.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions