Skip to content

Provide a way to fetch the file offset of the embedded data #2

Description

@RaisinTen

Problem

The current mechanism returns a pointer to the embedded data and its size. Passing it into V8 forces us to load the entire embedded data into a buffer in memory. It is not efficient to prematurely store the entire payload in memory, especially if the payload is huge.

See nodejs/node#42334 (comment).

Suggested solution

If the Postject Api returns the file offset of the embedded data, we will be able to parse only the parts that we are interested in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions