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. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)