Post Reply 
Program size limit (G1 vs G2)
10-20-2023, 06:41 PM (This post was last modified: 10-21-2023 10:35 PM by Gene222.)
Post: #18
RE: Program size limit (G1 vs G2)
(10-18-2023 07:32 AM)komame Wrote:  Indeed, it appears that there is an issue when there are more than 10,000 instructions (not lines), causing a crash (G1, G2, Virtual Calculator). So it seems you are partially right, but there are two limits to consider. The first one likely relates to the number of instructions in the program (comments aren't counted, only actual instructions that perform actions, and if there are multiple in one line, they are counted as multiple, not as one). ...

I was suprised to see that the G2 has the same 10,000 instruction limitation as the older G1, since the G2 has more memory. What is the use of having more memory, if you can't use it? It looks like every instruction ends with a semicolon. One might be able to estimate the number of instructions in a program by counting the number of semicolons in the program using notepad++, but it is probably not that simple.

Regarding the nature of the compiled or parsed program object, you might want to take a look at Cyrille's HPCC 2021 video (starts at 21:55). Also, see Cyrille's 2017 post entitled, An HPPL compiler question. There's probably more, but these are the only relevant one's that I could find.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Program size limit (G1 vs G2) - komame - 09-27-2023, 03:27 PM
RE: Program size limit (G1 vs G2) - Tyann - 09-27-2023, 05:14 PM
RE: Program size limit (G1 vs G2) - komame - 09-27-2023, 09:22 PM
RE: Program size limit (G1 vs G2) - Tyann - 09-28-2023, 04:52 AM
RE: Program size limit (G1 vs G2) - tjurij - 09-28-2023, 12:45 PM
RE: Program size limit (G1 vs G2) - Tyann - 09-28-2023, 06:06 PM
RE: Program size limit (G1 vs G2) - komame - 09-28-2023, 07:34 AM
RE: Program size limit (G1 vs G2) - komame - 09-28-2023, 01:40 PM
RE: Program size limit (G1 vs G2) - komame - 09-30-2023, 04:58 PM
RE: Program size limit (G1 vs G2) - komame - 10-16-2023, 07:15 AM
RE: Program size limit (G1 vs G2) - komame - 10-18-2023, 07:32 AM
RE: Program size limit (G1 vs G2) - Gene222 - 10-20-2023 06:41 PM
RE: Program size limit (G1 vs G2) - komame - 10-21-2023, 07:37 AM



User(s) browsing this thread: 1 Guest(s)