Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DEBUG: int_list:initial state:
- [] (len: 0)
- DEBUG: int_list (dbg) = List { head: NULL, len: 0 }
- DEBUG: int_list:cons(i) for i in range(0, 100):
- [99, 98, 97, ...] (len: 100)
- DEBUG: int_list (dbg) = List { head: Node { data: 99, next: Node { data: 98, next: Node { data: 97, next: ... }}}, len: 100 }
- DEBUG: float_list:initial state:
- [] (len: 0)
- DEBUG: float_list (dbg) = List { head: NULL, len: 0 }
- DEBUG: float_list:cons(i) for i in range(0, 6):
- DEBUG: terra List:cons(): ALLOC node at 0x7f9721402c90
- DEBUG: terra List:cons(): ALLOC node at 0x7f9721402ca0
- DEBUG: terra List:cons(): ALLOC node at 0x7f9721402cb0
- DEBUG: terra List:cons(): ALLOC node at 0x7f9721402cc0
- DEBUG: terra List:cons(): ALLOC node at 0x7f9721402cd0
- DEBUG: terra List:cons(): ALLOC node at 0x7f9721402ce0
- [+5.000, +4.000, +3.000, +2.000, ...] (len: 6)
- DEBUG: float_list (dbg) = List { head: Node { data: +5.000, next: Node { data: +4.000, next: Node { data: +3.000, next: Node { data: +2.000, next: ... }}}}, len: 6 }
- DEBUG: string_list:initial state:
- [] (len: 0)
- DEBUG: string_list (dbg) = List { head: NULL, len: 0 }
- DEBUG: string_list (after cons: 'abc', 'def', 'ghi'):
- DEBUG: terra List:cons(): ALLOC node at 0x7f9721402d90
- DEBUG: terra List:cons(): ALLOC node at 0x7f9721402da0
- DEBUG: terra List:cons(): ALLOC node at 0x7f9721402db0
- ["ghi", "def", "abc"] (len: 3)
- DEBUG: string_list (dbg) = List { head: Node { data: "ghi", next: Node { data: "def", next: Node { data: "abc", next: NULL }}}, len: 3 }
- DEBUG: int_list:dealloc()
- DEBUG: float_list:dealloc()
- DEBUG: terra List:dealloc(): DEALLOC node at 0x7f9721402ce0
- DEBUG: terra List:dealloc(): DEALLOC node at 0x7f9721402cd0
- DEBUG: terra List:dealloc(): DEALLOC node at 0x7f9721402cc0
- DEBUG: terra List:dealloc(): DEALLOC node at 0x7f9721402cb0
- DEBUG: terra List:dealloc(): DEALLOC node at 0x7f9721402ca0
- DEBUG: terra List:dealloc(): DEALLOC node at 0x7f9721402c90
- DEBUG: string_list:dealloc()
- DEBUG: terra List:dealloc(): DEALLOC node at 0x7f9721402db0
- DEBUG: terra List:dealloc(): DEALLOC node at 0x7f9721402da0
- DEBUG: terra List:dealloc(): DEALLOC node at 0x7f9721402d90
Advertisement
Add Comment
Please, Sign In to add comment