Post Reply 
How much memory may a HPPL program use on a G2?
09-23-2023, 04:24 PM
Post: #95
RE: How much memory may a HPPL program use on a G2?
Désolé pour l'erreur Komame, je vais le copier 100 fois pour ne plus me tromper Smile
Après cette idée, une autre m' ai venu, pourquoi ne pas construire une chaîne à l'aide des positions et remplacer la boucle par un simple test.
Donc avec le mots dans 'm' et les mots de liste -> 'u'
J'ai testé :IF EQ(MID(m,lx,1),MID(u,lx,1)) THEN r(0):= ...... END;
IF ∑LIST(MID(m,lx,1))==∑LIST(MID(u,lx,1)) THEN r(0):= .....END;
Mais cela s'avère moins rapide.

Sorry for the mistake Komame, I'm going to copy it 100 times so I don't make any more mistakes Smile
After this idea, another one came to me, why not build a string using the positions and replace the loop with a simple test.
So with the words in 'm' and the list words -> 'u'.
I tested :IF EQ(MID(m,lx,1),MID(u,lx,1)) THEN r(0):= ...... END;
IF ∑LIST(MID(m,lx,1))==∑LIST(MID(u,lx,1)) THEN r(0):= .....END;
But this is not as fast.

Sorry for my english
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? - Tyann - 09-23-2023 04:24 PM



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