mirror of https://github.com/svaarala/duktape.git
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.
29 lines
873 B
29 lines
873 B
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
title: fix O(n^2) inner function parsing
|
|
desc: |-
|
|
The problem is that even if we didn't want to compile an inner function,
|
|
we'd need an effective method of skipping it on the second pass of the
|
|
function being compiled.
|
|
|
|
A simple solution would be to store a lexer offset after the inner
|
|
function is parsed on the first pass. On the second pass, this offset
|
|
would then be used to skip the function.
|
|
type: :task
|
|
component: duk
|
|
release: v0.10
|
|
reporter: sva <sami.vaarala@iki.fi>
|
|
status: :closed
|
|
disposition: :fixed
|
|
creation_time: 2014-02-03 00:57:50.471954 Z
|
|
references: []
|
|
|
|
id: 4634dcae7be6e2491fd95885306ecb0048ae5c7f
|
|
log_events:
|
|
- - 2014-02-03 00:57:50.655897 Z
|
|
- sva <sami.vaarala@iki.fi>
|
|
- created
|
|
- ""
|
|
- - 2014-02-06 18:24:40.754781 Z
|
|
- sva <sami.vaarala@iki.fi>
|
|
- closed with disposition fixed
|
|
- ""
|
|
|