3 ms·
Just because your data structure is deeply nested doesn’t mean it takes a lot of memory. [[[[]]]] is still only 4 objects worth of memory on a stack.
by Spivak 7y ago
Just because your data structure is deeply nested doesn’t mean it takes a lot of memory.
[[[[]]]] is still only 4 objects worth of memory on a stack.