So I've written a small Tensor library for purposes of various computations 
inside a hardware product that my startup is working on. I've implemented 
in the library, the functionality to slice a matrix similar to matlab using 
a proxy. The implementation, I have works just fine and does exactly what I 
want, albeit with one hiccup, every time I slice the matrix, it allocates 
for the proxy. This caused a problem inside hot loops. Hence, I implemented 
the same functionality by allowing the user to pre-allocate the proxy and 
slice the matrix into it, thus eliminating the problem. However, I'd like 
to know if the size of the proxy can be reduced any further or a more 
efficient way to achieve the same functionality? Relevant runnable code can 
be found here <>

You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to