Informatix Expert Licensed User Longtime User Mar 24, 2013 #1 @Erel I noticed while doing tests with the OpenGL library that the loops are very slow in comparison to their equivalent in Java (translated manually). They are ten times slower. You can read my findings here. In my test, the Java code runs at 60fps, the B4A version at 18fps. Why do you convert everything to double? Why don't you stay with the original type of variables? EDIT: I forgot the main question : Do you think you can improve the loop speed? Last edited: Mar 24, 2013
@Erel I noticed while doing tests with the OpenGL library that the loops are very slow in comparison to their equivalent in Java (translated manually). They are ten times slower. You can read my findings here. In my test, the Java code runs at 60fps, the B4A version at 18fps. Why do you convert everything to double? Why don't you stay with the original type of variables? EDIT: I forgot the main question : Do you think you can improve the loop speed?
Erel B4X founder Staff member Licensed User Longtime User Mar 24, 2013 #2 It will be checked. Note that this is only relevant to For loops and also you will not see such difference with "real" code.
It will be checked. Note that this is only relevant to For loops and also you will not see such difference with "real" code.