opengl – Need advices for speeding up map rendering

Map loader uses for loops for loading text based files then it stores them in list then for loop in rendering takes data it parses them then sends them to opengl but its slow when having maps that very large any alternatives for for loop in this method thanks