Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimization possible in CBL0106.cbl #309

Open
fa573r opened this issue Aug 18, 2023 · 0 comments
Open

Optimization possible in CBL0106.cbl #309

fa573r opened this issue Aug 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@fa573r
Copy link

fa573r commented Aug 18, 2023

Course Details

GitHub

Description

In CBL01016.cbl I've seen somthing that is not as it is recommended.
The table / array 01 OVERLIMIT. is indexed with a separate variable: 05 SUB1 PIC 99..
Recommendation says,that an array should be addressed with e.g. 'indexed by SUB1.'. That normally improves performance (in this case irrelevant). Cause this is an educational site, students should be shown how to do it right and not how it was done in the beginning of COBOL.

Reproduction Steps

...

Additional Context

No response

@fa573r fa573r added the bug Something isn't working label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
1 participant