forked from svaarala/duktape
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathissue-ec540c5a32e205d68bb4267cfa41e5a3ce65b665.yaml
56 lines (52 loc) · 1.7 KB
/
issue-ec540c5a32e205d68bb4267cfa41e5a3ce65b665.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--- !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 <[email protected]>
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 <[email protected]>
- created
- ""
- - 2013-10-09 10:52:44.096868 Z
- sva <[email protected]>
- 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 <[email protected]>
- commented
- "See also: http://wiki.commonjs.org/wiki/Binary"
- - 2013-10-31 00:04:11.320418 Z
- sva <[email protected]>
- assigned to release v0.9 from v0.8
- ""
- - 2013-12-19 00:58:15.181657 Z
- sva <[email protected]>
- assigned to release v0.10 from v0.9
- ""
- - 2014-02-18 13:17:02.959448 Z
- sva <[email protected]>
- unassigned from release v0.10
- ""
- - 2014-04-28 21:32:08.761202 Z
- Sami Vaarala <[email protected]>
- 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.