Once I have loaded a file in my inputstream, should I copy the contents of th stream into a character buffer or a string?
I believe it’s more efficient (processing wise) to use a string over a character buffer.
I realise the size of the string is the amount of characters is in it + 1. A character[] doesn’t have that disadvantage but I hardly think that 1 byte is going to make a large difference. I’m trying to keep my file processing to an all time low.
Am I right and I should go with a string over a char[] buffer?
Thank You