|
On Apr 4, 2005 11:10 AM, Tyler, Matt <mattt@xxxxxxxxxxxxxx> wrote: > I need some clarification, please. > I have followed some threads that discuss using a data structure for as a > template and using the BASED() keyword. According to what I understand I > read, the data structure is supposed to occupy no storage. I am aware that this is the accepted practice, but I think it is a waste of time. As I understand it, data structs are not initialized at module start, so a plain old qualified data struct will not impact the running of a program in that way. And in terms of the system having to allocate space for the data struct, I dont think there is any difference in module startup when the static storage of a module is size X vs size X+ %size(template_data_struct). -Steve
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.