Victor Baybekov

Results 87 comments of Victor Baybekov

I will reopen because I indeed wanted to add some easier access to events. E.g. here is a nice solution that gives a light events abstraction as properties with `on`...

@omariom Because it's 100 lines of self-contained code. This should be distributed as source. For my needs I had to change API somewhat and I also have my own benchmark.

@omariom See the [link](https://github.com/Spreads/Spreads/commit/3f96e14823a98bfaaff763a7b0f6a37a3f0fdb60) for numbers. Sorry, but won't run BMDN for half an hour. The key point of these changes is multithreaded scalability. On 12 cores adding spinning increases...

Actually latency analysis is more interesting that throughput. It feels like even though yields are rare, they contribute a lot to throughput increase. The numbers in the last paragraph above...

> The op of reading the _bufferMask and &ing it with the pos (var index = pos & _bufferMask;) is essentially free. I should try again with it. I just...

Looks like placing mask to separate cache lines in the same way as two buffers helps. Did run my own simple benchmark, improvement is c.3-4% with probability that there is...

BinarySerilializationAttribute for blittable types now needed explicitly.

Btw, in the future I will also add a check that a blittable type has no padding due to struct field packing alignment. What code gets access violation?

CI is green and my project that uses LMDB works with the latest version, so I cannot help without a repro.