gogins / csound-cxx-opcodes

The "cxx" opcodes enable C++ code to be compiled and run in Csound orchestras.
GNU Lesser General Public License v2.1
3 stars 0 forks source link

Speed up csound->InputMessage #9

Closed gogins closed 2 years ago

gogins commented 2 years ago

When there are more than a hundred thousand lines in the message this gets way too slow. It's definitely slower than I think it should be, my computer should be able to handle millions of lines. This affects the use of the Clang opcodes which can generate large scores that have to go in this way.

I will profile/debug this with a custom C++ program.

gogins commented 2 years ago

The problem is not csound->InputMessage but Csound internals. I will change my test not to use threading and then we will try again.

gogins commented 2 years ago

Wrote custom program, there is no real issue, it's just that we don't normally shove tens or hundreds of thousands of events into Csound during rather than before performance.