From dfd2ed38f24b82da102d7fd899fa58bb0a791023 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 13 Jul 2015 20:33:39 -0700 Subject: 1773 - update all mu recipes to new-default-space Turns out to not affect memory utilization or run-time. At all. But still looks nicer and requires less fudging on our part. --- 066stream.mu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '066stream.mu') diff --git a/066stream.mu b/066stream.mu index ab86efab..d07d99e9 100644 --- a/066stream.mu +++ b/066stream.mu @@ -5,7 +5,7 @@ container stream [ ] recipe new-stream [ - default-space:address:array:location <- new location:type, 30:literal + new-default-space result:address:stream <- new stream:type i:address:number <- get-address result:address:stream/deref, index:offset i:address:number/deref <- copy 0:literal @@ -15,7 +15,7 @@ recipe new-stream [ ] recipe rewind-stream [ - default-space:address:array:location <- new location:type, 30:literal + new-default-space in:address:stream <- next-ingredient x:address:number <- get-address in:address:stream/deref, index:offset x:address:number/deref <- copy 0:literal @@ -23,7 +23,7 @@ recipe rewind-stream [ ] recipe read-line [ - default-space:address:array:location <- new location:type, 30:literal + new-default-space in:address:stream <- next-ingredient idx:address:number <- get-address in:address:stream/deref, index:offset s:address:array:character <- get in:address:stream/deref, data:offset @@ -34,7 +34,7 @@ recipe read-line [ ] recipe end-of-stream? [ - default-space:address:array:location <- new location:type, 30:literal + new-default-space in:address:stream <- next-ingredient idx:number <- get in:address:stream/deref, index:offset s:address:array:character <- get in:address:stream/deref, data:offset -- cgit 1.4.1-2-gfad0