[Info-vax] BASIC RTL inefficiency? (was: Opportunity for VSI?)

Robert A. Brooks FIRST.LAST at vmssoftware.com
Sat Dec 15 18:01:51 EST 2018


On 12/15/2018 5:20 PM, Dave Froble wrote:
> On 12/15/2018 3:21 PM, Robert A. Brooks wrote:
>> On 12/15/2018 3:15 PM, Dave Froble wrote:
> 
>>> John discussed it in the past, after I rubbed his nose in it.  As I
>>> understand things, when returning from a Basic subroutine, the
>>> procedure must "walk the stack" for some reason.  Now call a simple
>>> routine several hundred thousand times, and you will see horrible
>>> performance. We've had to take the code form the routines and place it
>>> inline in programs where it is an issue.
>>
>> Have you logged a support call with us about this issue?
>>
> 
> Well, no.  It's not a bug.  It's just how the language works.  I don't know if 
> anything can be done.  That's a question for someone like John to answer.

There is likely nothing in the BASIC ANSI specification that states that 
subroutine calls must be slow.  Now, it may be due to our implementation, but
that doesn't mean "It's just how the language works".

If you think it's an issue, log a call.

-- 
                  -- Rob



More information about the Info-vax mailing list