Post Reply 
How much memory may a HPPL program use on a G2?
09-08-2023, 08:00 PM
Post: #14
RE: How much memory may a HPPL program use on a G2?
(09-08-2023 08:06 AM)Stefan Falk Wrote:  That is the plan I have, to use lists of lists. :-)

Yes, you can do it that way if you don't care about performance.
But implementing a list based on the string type is much simpler. You just need to change a few lines of code in your program to make it work (you don't even need to create additional functions). Additionally, for cases exceeding the dimensions of 9x9 and larger, it's even faster than the built-in PPL list even for less than 10000 items (which surprised me as well) - tested on G2.
So if you use a list of lists (meaning you iterate through multiple nested lists to simulate the POS or CONCAT instruction), the performance can decrease even several times compared to a string-based list.

Piotr Kowalewski
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How much memory may a HPPL program use on a G2? - komame - 09-08-2023 08:00 PM



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