Arena storage pool: Difference between revisions

m
mNo edit summary
Line 416:
All program elements in Julia are dynamically allocated objects which are garbage collected
as required after they are out of scope. If a specific storage pool is needed in advance, perhaps for
performancememory efficiency reasons, thethat pool can be optionally preallocated as an array or other large structure.
For example, a large 1000 X 1000 X 1000 matrix that will need to be changed repeatedly might be
allocated and initialized to zero with:
4,102

edits