If performance in processing data matters, then text based formats should be avoided at all.
In LAMMPS you can configure writing NetCDF style output or there is a dedicated HDF5 based dump style. Both offer standard compliant and much faster processing of data (writing and reading).