this might help to detect a hidden resize.
    
    
    proc cap*[T](s: seq[T]): Natural =
      cast[ptr tuple[length, capacity: Natural]](s).capacity
    

I really wonder why this is not part of the system module. 

Reply via email to