On Thu, Dec 31, 2009 at 12:30:38PM +0100, Thomas Sailer wrote: > Hi Tristan, > > > clearly (and as you have already predicted), most of the time is spent in > > next compute. I have an idea to improve that. > > the stats look pretty extreme - not sure it is really that extreme in > practice, valgrind profiling shows more time spent running processes.
Ouch. I don't know how good is valgrind profiling compared to --stats. But for sure next_compute uses an O(n) algorithm, which could be improved to O(1). > Anyway, there are a couple of wired-or busses that use the following > resolution function: > Well, you may try to simplify this function by removing the recursion. > Not sure where the runtime of this function shows up - in next compute? It should be in update. > Happy new year! Thanks, and happy new year too. Tristan. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
