Fixed
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Michael OffnerMichael OffnerPriority
NewLabels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Michael Offner
Michael OffnerPriority
Labels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 3 April 2020 at 14:55
Updated 23 January 2025 at 17:05
Resolved 22 March 2024 at 11:43
arrayEach much slower than for example a for loop because it creates a Pagecontext object for every thread created, that seems unnecessary, take this example
myArr = []; for( i=1; i<=50000; i++ ) { myArr.append( i ); } start=getTickCount(); max=arrayLen(myArr); for(i=1;i<=max;i++) {i=i;} dump(getTickCount()-start); start=getTickCount(); myArr.each( (i) => i=i, false, 20 ); dump(getTickCount()-start); start=getTickCount(); myArr.each( (i) => i=i, true, 20 ); dump(getTickCount()-start);