Forum: Poser Python Scripting


Subject: Faster operation on a list of vectors?

damir_prebeg opened this issue on Jan 17, 2007 ยท 5 posts


bagginsbill posted Mon, 22 January 2007 at 9:59 AM

Just for completeness, I changed the loop back to the way you did it.

   for v in a:
                b[v[0]] = v[1]

This runs in about 5.5 milliseconds, so the two subscripts are adding about 20% to the cost.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)