mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
11 years ago
6 changed files with 110 additions and 3 deletions
@ -0,0 +1,41 @@ |
|||
--- !ditz.rubyforge.org,2008-03-06/issue |
|||
title: free internal enumerator entries as soon as they've been enumerated |
|||
desc: |- |
|||
Currently the internal enumerator holds the entire enumaration sequence |
|||
until the internal enumerator is freed. Because there is no way to |
|||
enumerate a particular sequence twice, the enumerated entries could be |
|||
overwritten with e.g. "undefined" values as the enumeration proceeds, |
|||
generating string free operations steadily instead of as on massive |
|||
chunk as the enumeration finishes. |
|||
type: :task |
|||
component: duk |
|||
release: v0.9 |
|||
reporter: sva <sami.vaarala@iki.fi> |
|||
status: :unstarted |
|||
disposition: |
|||
creation_time: 2013-12-17 11:18:51.672163 Z |
|||
references: [] |
|||
|
|||
id: 149481dcf4856c1108d2ef4e17feb2b448fa3dbe |
|||
log_events: |
|||
- - 2013-12-17 11:18:51.864087 Z |
|||
- sva <sami.vaarala@iki.fi> |
|||
- created |
|||
- "" |
|||
- - 2013-12-17 11:19:12.792144 Z |
|||
- sva <sami.vaarala@iki.fi> |
|||
- commented |
|||
- Update hobject-design.txt too. |
|||
- - 2013-12-17 12:45:28.370024 Z |
|||
- sva <sami.vaarala@iki.fi> |
|||
- commented |
|||
- |- |
|||
Actually enumeration goes through the *keys* (not values) of the internal |
|||
enumerator. The keys cannot be replaced with "undefined". They could be |
|||
replaced with NULL, but this would lead to the risk of the keys being |
|||
compacted and the "_next" internal property being incorrect. |
|||
|
|||
A practical approach would be to replace each key with the empty string as |
|||
soon as it was enumerated. This would create duplicate keys in the entry |
|||
part, however, something that is not normally allowed so it would need |
|||
careful consideration. |
@ -0,0 +1,18 @@ |
|||
--- !ditz.rubyforge.org,2008-03-06/issue |
|||
title: "function instance optimization: prototype object, often not needed but mandatory" |
|||
desc: "" |
|||
type: :task |
|||
component: duk |
|||
release: v0.10 |
|||
reporter: sva <sami.vaarala@iki.fi> |
|||
status: :unstarted |
|||
disposition: |
|||
creation_time: 2013-12-17 13:43:21.717741 Z |
|||
references: [] |
|||
|
|||
id: 6e20016d7d9985d8e7bf8481d38be083787e6447 |
|||
log_events: |
|||
- - 2013-12-17 13:43:21.921805 Z |
|||
- sva <sami.vaarala@iki.fi> |
|||
- created |
|||
- "" |
@ -0,0 +1,22 @@ |
|||
--- !ditz.rubyforge.org,2008-03-06/issue |
|||
title: performance note on enumeration vs. looping array indices |
|||
desc: "" |
|||
type: :task |
|||
component: duk |
|||
release: v0.8 |
|||
reporter: sva <sami.vaarala@iki.fi> |
|||
status: :closed |
|||
disposition: :fixed |
|||
creation_time: 2013-12-17 11:19:44.519810 Z |
|||
references: [] |
|||
|
|||
id: 84bc49e3a940f70896f13de4244e2795c2428491 |
|||
log_events: |
|||
- - 2013-12-17 11:19:44.679779 Z |
|||
- sva <sami.vaarala@iki.fi> |
|||
- created |
|||
- "" |
|||
- - 2013-12-17 14:57:39.859993 Z |
|||
- sva <sami.vaarala@iki.fi> |
|||
- closed with disposition fixed |
|||
- "" |
@ -0,0 +1,18 @@ |
|||
--- !ditz.rubyforge.org,2008-03-06/issue |
|||
title: "function instance optimization: caller, arguments properties" |
|||
desc: Make them virtual / autospawned? |
|||
type: :task |
|||
component: duk |
|||
release: v0.10 |
|||
reporter: sva <sami.vaarala@iki.fi> |
|||
status: :unstarted |
|||
disposition: |
|||
creation_time: 2013-12-17 13:43:00.184527 Z |
|||
references: [] |
|||
|
|||
id: a59f0ee555bf5930ca1ff28a27eccbaf76204471 |
|||
log_events: |
|||
- - 2013-12-17 13:43:00.396680 Z |
|||
- sva <sami.vaarala@iki.fi> |
|||
- created |
|||
- "" |
Loading…
Reference in new issue