Speeding up System.Collection.Generic.Queue() possible?
<p>50\% of my simulation time is spent on the following code:</p>

<pre><code>    internal double simWithdrawalFast(double t)
    {
        simarrivals.Enqueue(t + Leadtime);
        return simarrivals.Dequeue();
    }
</code></pre>

<p>where simarrivals is a <code>System.Collection.Generic.Queue&lt;double&gt;</code>. </p>

<p>If I write my own queue, will it be faster?</p>

<p>EDIT: note that there are doubles in the queue to begin with, i.e. the queue has about 200 elements when simwithdrawal is called. Each call adds and removes an element. </p>
