Skip to content
This repository was archived by the owner on Jun 6, 2019. It is now read-only.
This repository was archived by the owner on Jun 6, 2019. It is now read-only.

Change of ArrayBuffer impl requires change of node-realsense code that are using it #68

@haoyunfeix

Description

@haoyunfeix

When WIDL-NAN 0.1.16 (estimated ver) is published (intel/widl-nan#92), ArrayBuffer type in IDL definition will be implemented via v8::ArrayBuffer (was: Node.js' Buffer).

With this change, we can explicitly specify whether an ArrayBuffer can actually own a raw buffer or not. The advantage is: if an ArrayBuffer doesn't own a raw buffer, it won't delete the buffer when it's being destroyed, which brings up the ability to reuse the same raw buffer and to avoid large amount of buffer copying.

kenny:

Mark this as a bug because code won't compile after this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions