View Single Post
Old 16 August 2014, 21:37   #45
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,828
Reallocating an array and then copying it's contents isn't necessary. You can just allocate extra arrays as needed. The first long word in each array simply links to the next array. These link pointers are also used for freeing the arrays when they're no longer needed.

Easy
Thorham is offline  
 
Page generated in 0.05250 seconds with 11 queries