Gabriel Eduardo de Lima Machado
Gabriel Eduardo de Lima Machado
Ok, but I wanted to compute the sum incrementally, so that I don't need to iterate through the whole array every time. So I thought about using the stream scan....
I can, if I know the current state of the vector and an item changes at a given index, I can subtract that old item and add the new one...
Well, I wanted to do this: a chart from a vector that could have potentially some millions of elements. The chart would agregate the data in maximum and minimum points...
Also it looks like on rust there is always a lot of cloning involved. The libraries require the data to be clone, which makes it tricky to know when a...
That's all valuable information. Thank you very much. Just one more thing. Is there a way to poll synchronously the value of a signal? Just look at it's current value...
Yes, it is a release build. Hum. I had not noticed that it was using BGRX, I thought it was just using a u32 instead of 4 bytes of RGBA....
Just took off all the skips and takes on the iterators and it ran in 1.5ms the present function. Maybe they are preventing some compiler optimizations since it gets harder...
I've read it before, I've seen it on the readme of the repo :) . Is it possible to mutate the value of the signal with a function? Kind of...