Add benchmark test for large import
Minor optimization for large array imports
Fix comment about optim
Another performance optimization