Hi everyone,
as the subject suggests, I am having trouble with the array object. I cannot report this as a bug since the problem only happens with a huge project I am working on, it has a lot of events, loops and some other stuff, however, the array loop and delete part is not tied to this stuff but I suppose the overall performance of this project, somehow, is affecting the delete part. I have and array of width 20 and height 2, depth 1. First, I fill the array with Infinity values, then I fill the the array with values depending on the activation of certain functions, lastly, when certain event occurs, I delete all the rows that have a the infinity value, when I do this, the rows containing Inifinity values are deleate but only partially. For example, 4 out of 40 of the array´s elements are filled with arbitrary values, the rest the values are filled with inifiny value, then the array deletes only 20 values o 10 rows that have the infinity value, so there are 8 rows with infinity value and 2 rows with the arbitrary values used before. I tried executing the delete loop 2 and 3 times in a row, and the elements were deleted successfully ,that way I could confirm is more of a performance problem more than a programming one (it is just a supposition), if I were having wrong code or something, the values in the array would never be deleted or would be a delete mess, but values are being deleted just that a slow pace if you will. I would really appreciate if you could help me with this one, thank you.