Text or Binary format ?
Hi
For my 3D engine, I load models from text files... But I was wondering if binary files should be quicker to read... What do you think?
NONO
April 17, 2001 07:49 AM
Yes, they''re quicker because you can almost read the data directly into the variables.
binary format is MUCH BETTER! first of all, you can load data directly to your variables/structures/and so on. Binary files are also smaller then text files! Therefore loading is much quicker. The only drawback of binary files is that it''s harder to find mistakes in your load/save function as it''s not as clear as text file. Text files are sometimes used at the beggining, to get things going and later they are changed to binary files. I do not use text files at all thru.(well only to save error messages
![](smile.gif)
With best regards, Mirek Czerwiñski
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement