AdobeStock_455007340

Working with Large Arrays

Creating an array that is expected to have hundreds of elements? Arrays usually grow as needed, and dynamic resizing takes times. You can use the ArrayResize() function as soon as the array is created (with ArrayNew()) to set the array to an initial size in one step saving precious resources. (Applies to: ColdFusion All)

Leave a Reply