You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
1.7 KiB

--- !ditz.rubyforge.org,2008-03-06/issue
title: investigate typedarray spec
desc: http://www.khronos.org/registry/typedarray/specs/latest/
type: :task
component: duk
release:
reporter: sva <sami.vaarala@iki.fi>
status: :unstarted
disposition:
creation_time: 2013-10-09 10:46:38.283156 Z
references: []
id: ec540c5a32e205d68bb4267cfa41e5a3ce65b665
log_events:
- - 2013-10-09 10:46:38.488108 Z
- sva <sami.vaarala@iki.fi>
- created
- ""
- - 2013-10-09 10:52:44.096868 Z
- sva <sami.vaarala@iki.fi>
- commented
- |-
Seems to require:
* ArrayBuffer class, internal pointer is a Duktape plain (fixed?) buffer.
This seems straightforward. A 'byteLength' special property (like
array 'length') would be useful; however, accessor classes also have
a 'byteLength' and a 'byteOffset' and these properties cannot be
magical.
* Typed array view types: Int32Array etc. To work efficiently, property
access primitives need to provide fast paths for these.
* DataView view type.
- - 2013-10-09 10:53:59.476872 Z
- sva <sami.vaarala@iki.fi>
- commented
- "See also: http://wiki.commonjs.org/wiki/Binary"
- - 2013-10-31 00:04:11.320418 Z
- sva <sami.vaarala@iki.fi>
- assigned to release v0.9 from v0.8
- ""
- - 2013-12-19 00:58:15.181657 Z
- sva <sami.vaarala@iki.fi>
- assigned to release v0.10 from v0.9
- ""
- - 2014-02-18 13:17:02.959448 Z
- sva <sami.vaarala@iki.fi>
- unassigned from release v0.10
- ""
- - 2014-04-28 21:32:08.761202 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- commented
- |-
ArrayBuffer slice() makes a copy of the bytes requested while V8 Buffer
slice() is a 'view' into the original buffer. This is quite confusing.