Variable length message being stored in a Queue

paulgigliotti wrote on Saturday, February 11, 2017:

The problem is that you are writing the the whole queue length and reading the whole queue length. The iniefficency that I do not mind, is the wasted memory space. It is the loss of processor bandwidth that is the issue. The processor spends time moving garbage data!. That is why I was thinking it would be advantageous to add another arguement to the send and recieve functions to tell how many bytes are being sent on the send, and how many bytes make up the length, at the start of the receive message, for the QueueReceive!