> If your buffer is immutable during the time of computation, you can use a 
> (copying) seq, but you should pass to the compute proc an openarray or ptr 
> UncheckedArray so there is no GC or copy involved.

Thanks, I'll keep that in mind and use for some heavy simulations. But for 
ordinary day-to-day code `ref` and `{.shallow.}` feels easier. :)

Reply via email to