Welcome Guest | My Membership | Login

Call(Overhead)


Summary

The Challenge

For decades, MV BASIC has featured the CALL() statement, allowing for external subroutines invoked by mainline programs. Typically, one does this to share common code/processing/algorithms, thus upholding the development principle of DRY ( Don't Repeat Yourself ). However, such features often come with a performance penalty. The question is, "How much of a performance penalty?" .

Recently, while reading through the D3 Reference Manual for version 9.2.1, I noticed some performance tips mentioned in the Compiling Programs subsection of the chapter on BASIC. In particular, this statement:

To obtain the best possible compile-time and run-time performance, Rocket recommends breaking up applications into small modules. Pick BASIC removes the traditional run-time overhead of large numbers of calls and is able to create more efficient code when modules are smaller

The part of that stood out to me was, "Pick BASIC removes the traditional run-time overhead of large numbers of calls...".

Read More...

Social Media Login

Use your existing social media logins to access your Membership/Subscription information.

Existing Magazine/Newsletter Subscriber (Quick Access)

If you are an existing International Spectrum subscriber, but have not registered with the website, please enter the Reference Code found on the magazine or in the e-mails you receive from us.

Magazine Reference Code location

Spectrum Login

New Subscriber

If you currently do not receive the Magazine or other emails from International Spectrum, select the "Subscribe" button below to create an new membership account.


 

Find out more about the different between the FREE and a Professional Membership at:
Compare Account Options

 

# # #          # # #          # # #

 

Related Articles

  • From the Inside May/June 2015

    I need authors for articles. I need content providers. Are you interested?

  • International Spectrum 2015 MultiValue Conference Recap

    Company: International Spectrum

    International Spectrum 2015, West Palm Beach Gardens, Florida was another great MultiValue Conference. If you didn't attend, this is your chance to find out what you missed during our four days of education, networking and fun. Read about our sessions, parties, and other networking events. Find out which were the most popular. And get the scoop on the 2016 conference.

  • Using Inner Recursion

    Company: Precision Solutions

    Recursion is a painful topic for many programmers. This article shows you a more efficient way to approach data in unbalanced trees.

  • Clif Notes — New Blood Part 3

    Clif wants us to stop "ducking." He talks about how changing habits within your IT department can make all the difference in the world. This article explores some behavior patterns that make MultiValue databases look old and hard to work with. See his suggestions on some minor changes you can make in your IT department to make it more appealing to new developers.

  • Improving System Performance BASIC Efficiency

    Database: Advanced Pick, D3, jBASE, Mentor/PRO, mv*Base, mvEnterpise, OpenQM, PI/Open, PRIME, R83, Reality, Ultimate, UniData, UniVerse, UniVision, OpenInsight, MVON, AREV

    The task was designed to transfer geological survey data to tape for distribution. This data was kept in separate files according to type. These types included seismic section, well log, and well core data. The process was taking over 72 hours.


Return to top