From: Jean Privat Date: Fri, 4 Dec 2015 18:49:31 +0000 (-0500) Subject: nitcc_runtime: use an Array instead of a List for the DephIterator X-Git-Tag: v0.8~52^2~1 X-Git-Url: http://nitlanguage.org nitcc_runtime: use an Array instead of a List for the DephIterator Signed-off-by: Jean Privat --- diff --git a/lib/nitcc_runtime.nit b/lib/nitcc_runtime.nit index e1aeb9a..ac75d8b 100644 --- a/lib/nitcc_runtime.nit +++ b/lib/nitcc_runtime.nit @@ -419,7 +419,7 @@ end private class DephIterator super Iterator[Node] - var stack = new List[Iterator[nullable Node]] + var stack = new Array[Iterator[nullable Node]] init(i: Iterator[nullable Node]) is old_style_init do stack.push i