Esempio n. 1
0
 public void EnqeueQueueSpeedTest()
 {
     for (int i = 0; i < _queueSize; i++)
     {
         _fixedQueueStruct.Enqueue(new MessageStruct(i, _longValue));
     }
 }
Esempio n. 2
0
 public void EnqeueQueueSpeedTest()
 {
     for (int i = 0; i < _queueSize; i++)
     {
         _fixedQueue.Enqueue(new Message {
             Value = i
         });
     }
 }