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

Discover more from Ben Forta

Subscribe now to keep reading and get access to the full archive.

Continue reading