Here are the running times in seconds (after a few dry runs):
direct embedded code 0.003 copied embedded code 0.016 file code 0.009
The run time advantage of the first method is pretty clear. The startup is 3 to 5 times faster than the other methods.
So lets aim to implement that. As I said, the startup time is really important for some applications
I thought we'd already agreed. The second approach is more compatible with our system, for reasons I've mentioned in the meeting.
I have to question how < 20ms could be too long of a load time for our applications (that's less than 1/50th of a second)... And I have to question how reading a whole other binary file and reading its contents could be faster than doing a memcpy of something that's already in memory.
- Maxime