Apologies if I'm asking something super basic but why does the following code 
work fine with refc but crash with a stack overflow when using ARC?
    
    
    import lists
    
    var l = initSinglyLinkedList[int]()
    
    for i in 1..1_000_000:
      l.add i
    
    
    Run

What would be the correct way to create such a large linked list when using ARC?

Reply via email to