From 77d5b5d658830bd24724f945e0d6ddf6a06adc0e Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 13 Jul 2015 22:43:16 -0700 Subject: 1780 - now we always reclaim local scopes But still no difference in either memory footprint or in running time. This will teach me -- for the umpteenth time -- to optimize before measuring. --- 063list.mu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '063list.mu') diff --git a/063list.mu b/063list.mu index b9bc9c53..fd64cfe8 100644 --- a/063list.mu +++ b/063list.mu @@ -10,7 +10,7 @@ container list [ # result:address:list <- push x:location, in:address:list recipe push [ - new-default-space + local-scope x:location <- next-ingredient in:address:list <- next-ingredient result:address:list <- new list:type @@ -23,7 +23,7 @@ recipe push [ # result:location <- first in:address:list recipe first [ - new-default-space + local-scope in:address:list <- next-ingredient result:location <- get in:address:list/deref, value:offset reply result:location @@ -31,7 +31,7 @@ recipe first [ # result:address:list <- rest in:address:list recipe rest [ - new-default-space + local-scope in:address:list <- next-ingredient result:address:list <- get in:address:list/deref, next:offset reply result:address:list -- cgit 1.4.1-2-gfad0