|
Lim, I haven't time to test it, but I wouldn't mind betting that the single call to CEEDOD will by itself take way longer than simply copying the parm value as was originally suggested. You're adding a lot of complexity to the code in the hope of improving performance, but in reality I suspect you are having exactly the opposite effect. If you don't like the idea of copying, go with the suggestion earlier of defining the variable to be used by the subproc as based (with it's pointer pre-initialized to the address of the default value) and simply flip the pointer to the address of the parm if one is supplied. In terms of raw speed I would expect that to be the fastest version. Jon Paris Partner400 www.Partner400.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.