Creating this issue so the following can be discussed in the TC meeting:
- Deciding whether
Uint8Array backed Buffer can roll out on a minor release or only on a major.
- My plan is to release the new functionality behind a flag for v3.0. This will allow a full release cycle to test the new functionality before it has to be rolled out by default in v4.0.
- Can we get numbers on how many packages are using V8 APIs like
v8::Object::GetIndexedPropertiesExternalArrayData()?
- Can someone check V8 to see why
new ArrayBuffer() is limited to 0x3fffffff? (same as Buffer) If the memory is pre-allocated (which we will be doing) then there is no upper limit. This discrepancy only happens in 4.3. In 4.4 it's fixed so both APIs can be arbitrarily large.
- The new Buffer implementation will no longer be setting the class id's. Since they are not actually
Persistent's anymore. Will this affect anyone?
Creating this issue so the following can be discussed in the TC meeting:
Uint8ArraybackedBuffercan roll out on a minor release or only on a major.v8::Object::GetIndexedPropertiesExternalArrayData()?new ArrayBuffer()is limited to0x3fffffff? (same as Buffer) If the memory is pre-allocated (which we will be doing) then there is no upper limit. This discrepancy only happens in 4.3. In 4.4 it's fixed so both APIs can be arbitrarily large.Persistent's anymore. Will this affect anyone?