Created
May 1, 2013 04:30
-
-
Save chrismanderson/5493736 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 1068.087883] We welcome our new Lua overlords! | |
[ 1068.089710] Lua from fib.lua:10946 | |
[ 1068.108374] Lua string is | |
[ 1068.108379] garbage 2816 | |
[ 1068.108383] garbage 2816 | |
[ 1068.130169] Lua string is | |
[ 1068.130174] garbage 4893 | |
[ 1068.130178] garbage 4893 | |
[ 1068.152191] Lua string is | |
[ 1068.152196] garbage 2816 | |
[ 1068.152200] garbage 2816 | |
[ 1068.163271] Lua string is | |
[ 1068.163275] garbage 5283 | |
[ 1068.163278] garbage 5283 | |
[ 1068.175881] Lua string is | |
[ 1068.175885] garbage 8095 | |
[ 1068.175889] garbage 8095 | |
function linked_list(n) | |
list = nil | |
for i=1,n do | |
list = {next = list, value = 'foobar'} | |
end | |
end | |
function clear_list() | |
list = nil | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment