c# Programming Glossary: ringbuffer
why my disruptor example is so slow? http://stackoverflow.com/questions/13334778/why-my-disruptor-example-is-so-slow disruptor.HandleEventsWith new ValueAdditionHandler var ringBuffer disruptor.Start while true var valueToSet _random.Next long.. while true var valueToSet _random.Next long sequenceNo ringBuffer.Next ValueEntry entry ringBuffer sequenceNo entry.Value valueToSet.. long sequenceNo ringBuffer.Next ValueEntry entry ringBuffer sequenceNo entry.Value valueToSet sw.Restart ringBuffer.Publish..
Disruptor.NET example http://stackoverflow.com/questions/8860684/disruptor-net-example disruptor.HandleEventsWith new ValueAdditionHandler var ringBuffer disruptor.Start while true long sequenceNo ringBuffer.Next.. ringBuffer disruptor.Start while true long sequenceNo ringBuffer.Next ValueEntry entry ringBuffer sequenceNo entry.Value _random.Next.. true long sequenceNo ringBuffer.Next ValueEntry entry ringBuffer sequenceNo entry.Value _random.Next ringBuffer.Publish sequenceNo..
|