HP Forums
Problem about reading a list - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Problem about reading a list (/thread-8817.html)



Problem about reading a list - wangchong01 - 08-11-2017 01:48 PM

Hello, I find that the operation of changing or reading an element from a list (or a matrix, vector) is o(n) which extremely influence my algorithm's running speed. What's more, the GETPIX, PIXON function or calling a user-defined function also needs about 0.5ms (That stops me from the idea of using a array library by storing values to GROB by myself, however, my own array library really gets quicker than the original list averagely when I store about 10000 elements in one list. Smile)! How can avoid these problems?