forked from svaarala/duktape
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathissue-d48b05e096aba33dd050f06f1e0b55fae9a8105d.yaml
42 lines (39 loc) · 1.48 KB
/
issue-d48b05e096aba33dd050f06f1e0b55fae9a8105d.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
--- !ditz.rubyforge.org,2008-03-06/issue
title: add a duk_def_prop() variant with 'length' special behavior, would be useful for Array built-ins
desc: |-
Array built-ins now need to set elements with raw duk_def_prop() calls, keep
track of desired result 'length' manually, and finally set the result 'length'
explicitly with a duk_def_prop() call.
This is nice in that no special behaviors are invoked while iterating a
potentially large number of elements, but it's a bit awkward to keep track
of the desired length every step of the way.
Another approach would be to have a duk_def_prop() variant with array
'length' special handling. This would at least be an option in the built-in
code: faster primitives would keep track of 'length' manually, slower ones
would use the duk_def_prop() variant with special 'length' handling.
type: :task
component: duk
release:
reporter: sva <[email protected]>
status: :unstarted
disposition:
creation_time: 2014-01-22 21:15:05.895258 Z
references: []
id: d48b05e096aba33dd050f06f1e0b55fae9a8105d
log_events:
- - 2014-01-22 21:15:06.063327 Z
- sva <[email protected]>
- created
- ""
- - 2014-04-10 19:47:19.470226 Z
- Sami Vaarala <[email protected]>
- assigned to release v0.11 from v0.10
- ""
- - 2014-07-10 12:43:17.287281 Z
- Sami Vaarala <[email protected]>
- assigned to release v0.12 from v0.11
- ""
- - 2014-07-24 13:10:05.004333 Z
- Sami Vaarala <[email protected]>
- unassigned from release v0.12
- ""