Program size limit (G1 vs G2)
|
10-16-2023, 06:14 PM
(This post was last modified: 10-17-2023 06:10 PM by Gene222.)
Post: #16
|
|||
|
|||
RE: Program size limit (G1 vs G2)
(10-16-2023 07:15 AM)komame Wrote: If it were a length limit of some internal list, it's still a limit that only applies to the G1, because on the G2 I can easily load a program that's 16MB (perhaps even larger, but I haven't checked that). However, on the G1, even 4MB causes a problem, even when it's the only program in memory (so there should still be a lot of free memory left after its loading). I never used a G2, so I can't comment on the G2 program size. On the G1, hardware A, I had programs top out at 9300 or 9500 lines of code (600 or 800 KB, if memory serves). The number of lines was under 10,000, which led me to wonder if one line of code was being stored in one element of a program list, and if the program line number was the same as the list index number. Some after thoughts The reason I wondering, if one line of code was being stored in one element of a program list, was because if true, then it may be possible to write several program statements on one line of code. This might allow one to write longer program. Regarding program memory, I would imagine that when a program is compiled or parsed, the compiled or parsed program is saved as a separate file or list. This would double the amount of memory needed. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)