Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allocating memory dynamically in cobol... 1

Status
Not open for further replies.

XPPROGRAMMER

Programmer
Nov 15, 2004
44
US
Hello,

when using win32 API functions in cobol, is it more
efficient performance wise to allocate the needed memory
dynamically for each function call -- or should I let the
the runtime system handles this task automatically?
i am using micro focus Net Express with windows 2000 pro.

thanks for the help.

 
For fewer headaches, let the the runtime system do its job unhindered.

__________________________________________
Try forum1391 for lively discussions
 
One thing is for sure - any time you let the runtime do things for you instead of you dealing directly with the OS, you're going to incure some overhead. If you're really worried about speed and efficiency, deal with the OS.

Ultimately, though, you'll have to judge whether that increase in efficiency (which I don't think will be too too big) is worth the potential extra complexity of the code.


.DaviD.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top