Thanks John; applied On Wed, Mar 28, 2012 at 04:43:34PM +0100, jpff@cs.bath.ac.uk wrote: > Sounfds good -- I was being lazy over using sscanf which I usually try to > avoid. Think you solution is good > > ==John ff > > > I have finally discovered the cause of the slow down > > in the score processing after 5.14.2 (score in memory). > > > > The prior episode is here > > > > http://csound.1045644.n5.nabble.com/score-processing-in-memory-is-slow-with-micro-events-td5595868.html > > > > `sscanf' in `corfile_get_flt' (corfiles.c) is a turtle so I have rewritten > > > > MYFLT corfile_get_flt(CORFIL *f) > > { > > int n = f->p; > > MYFLT ans; > > while(!isspace(f->body[++f->p])); > > ans = (MYFLT) atof(&f->body[n]); > > return ans; > > } > > > > and with the first test (0.001 msec) I get > > > > csound test.orc test.sco > > ... > > Elapsed time at end of performance: real: 0.947s, CPU: 0.290s > > ... > > > > Success. > > > > Let me know if I can "rapidly" to apply it or if you have a better > > solution. > > > > tito > > > > ------------------------------------------------------------------------------ > > This SF email is sponsosred by: > > Try Windows Azure free for 90 days Click Here > > http://p.sf.net/sfu/sfd2d-msazure > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net