|
|
> *SNIP*
>
> Aside of the above, yup, it is nice to simply #include some stuff, but I've
> found in several cases that using the File I/O more like a database rather
> than a crude POV-Editor has some advantages: the code is more compact and,
> though I'm not sure of that, depending on how you use, say, an amount of 500
> Vectors (directly in an array or load them one after another as need) might
> use less memory, but some guru might know more about that (or tell me to
> experiment, which I can't do properly at the moment).
An array of 500 3D vectors takes about 12Kb (8*3*500 bytes), so you are
right but it is mostly in extreme cases when you have enormous amounts
of data and need to fine-tune memory usage that the #include method
couldn't be used.
JC
Post a reply to this message
|
|