You can also use [cursor 
pragma](https://nim-lang.org/docs/destructors.html#the-cursor-pragma) inside 
the function so that it doesn't mess with the ref counts
    
    
    let svec {.cursor.} = svec[]
    
    
    Run

Reply via email to