4 ms·
Yes, but it's too simple. Consider: a = { x: [1, 2, 3], y: [1] } ... (a.y used, but a.x not used)
by amelius 8y ago
Yes, but it's too simple. Consider:
a = { x: [1, 2, 3], y: [1] }
... (a.y used, but a.x not used)
- arghwhat 8y agoThis is theoretically solvable, assuming those arrays are by reference. However, it's just not worth the effort of a significant increase in GC complexity.