Hi All, I had a thought this morning for a possible optimization. It's an idea that I first came across in the Java world, which is to use a threaded logger to do all messages. The reason for this is that IO is generally expensive (or at least can be if writing out to console), so instead of directly writing out messages get posted to the logger which is running in it's own thread, so that in Csound, it can post the message and then get back to doing it's audio processing. I noticed with the new parser which has a *lot* of messages currently that it can take a while to get to the point where csound actually runs, but if I pipe the output to disk instead of console, it's really take only a very small fraction of that time. I think if it was threaded, it might get the same advantage in time. Any thoughts? steven ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net