api arrays pre-allocated for expansion ? 2003-11-27 - By Berj Bannayan
Back On November 27, 2003 10:23 am, you wrote: > See the setSizeIncrement() and sizeIncrement() method docs. Essentially > they pre-allocate a constant amount for each insertion (if there isn't > enough room). I usually prefer some sort of exponential pre-allocation but > it's better than nothing. Actually, I stand corrected on this. Mark Williams was kind enough to point out that Maya seems to internally increase the sizeIncrement() whenever an allocation is done (seemingly buy about 25%).
Berj
-- "A cigar is a banana for the monkey of the soul" -- Switters Berj Bannayan - soho vfx - berj@(protected) - 416-591-1400
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- List-help: <mailto:listar@(protected)?Subject=help> List-archive: <http://www.highend3d.com/maya/devarchive/>
|
|