I’ve made some code that parses strings (d0h). Anyways the parsing is done very often (on each knob move and there can be a lot of them, dynamic amount of knobs acutally). Thos knobs send MIDI messages that can be any king of MIDI messages, sa a XML is provided with a string describing the message like “:CC:120:1” wicth means MIDI type CC, number 120, channel 1, or F0:41:15:01:XX:0F - witch means SysEx with the XX as value from the knob. Now i parse theese using String class from Juce each time a knob is moved, using mostly substring() method.
Now will this be a cpu intensive task in temr sof 40-60 knobs moving (that’s what i predict will be a max amount). Or should i perhaps use some more low-level STRING functions i used to use like strtok() and strstr(). THough i was trying to keep the code clean from calls like that. Or am I safe with the String class and am not even near any performance issues with data liket that?. I’m asking cuase i don’t really have a testing environment for now and since the code is in it’s early stages it would be nice to implement theese core functions the right way for future use.