Thank you Krux02 and Varriount.

I do need the indirection. The "Context" is used in other objects. When the seq 
of Nodes it wraps is modified it should be modified for all.

I'm only wondering if I should put the indirection at the object level or at 
the field level. There is no other field so my naive guess is that it doesn't 
matter in term of perf/memory.

@Krux02, I'm using this "Context" object 
[here](https://github.com/mratsim/nim-rmad/blob/master/src/autograd.nim)

Reply via email to