How much memory may a HPPL program use on a G2?
|
09-18-2023, 08:27 AM
(This post was last modified: 09-18-2023 08:37 AM by jte.)
Post: #66
|
|||
|
|||
RE: How much memory may a HPPL program use on a G2?
Piotr,
Thanks for all the back-and-forth dialog. I think we agree on pretty much everything! I just like to cheat a bit and run code before "the real run" begins and the timers come out... (I agree, multiple dictionaries etc. would need to be maintained, and that generating them could easily take more time than doing searches, counting matches etc.) [Although the "additional dictionaries" only need be indexing structures --- indices into the actual dictionary could be used, to save space at the cost of algorithmic complexity; even so, multiple indexing structures would rapidly gobble up space.] Again, to repeat, I'm thankful for the dialog: one possible result of it would be to change REPLACE so that lists (in the strings case) could be given as the second and third arguments, to enact multiple replacements with a single PPL call. (e.g., allow "replace(str,accents,latin);" to be used in CROSSWORDS' convAccents(-) instead of the looped call to REPLACE that is currently being done.) Jeff |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 17 Guest(s)