char[] is more efficient than char* in struct