Might be quicker in Bmax if you use writestream/readstream into a TStream rather than use integer handles. You should really be setting superstrict as well and, perhaps, setting local scope.
It saves about 500ms on my system. Haven't got B3D available at the moment to check.
It saves about 500ms on my system. Haven't got B3D available at the moment to check.