<p>You use a lot of (linked lists). Are they all used to represent streams or are they actually manifest during runtime? If it&#39;s the latter switch to a better data structure, like Vector.</p>