On 08/26/2010 03:17 PM, sami wagiaalla wrote: >> >> Sami> + /* Has a template symbol for this symbol been added already ? */ >> Sami> + for (iterator = *(listhead); >> Sami> + iterator != NULL; >> Sami> + iterator = iterator->next) >> >> I think this means that adding template symbols is O(N^2). >> A temporary hash table for recording this info would be better. >> > > Hmm.. I can't think of an elegant way to do this. I think we can do this, but this patch is just an update to accommodate the refactoring in the other patches in the series.