Speed up reading and simple parsing of large text file in Swift

I have a small piece of code that reads in an ASCII Autocad dxf file. This needs to be read into an array of structs where the struct is an Int and a String. For small files the way this is implemented is fine. But for large files, ~12.4 GB, it grinds to a halt taking about half an hour as the amount of memory required explodes to ~75 GB.

Looking for someone to rewrite this class / function to it run much, much faster and has a smaller memory requirement.

Current Code and small example file attached.

The large model is here: [login to view URL]

Habilidades: Swift

Ver más: swift read file, swift read large file, swift 4 read file line by line, swift 3 read file, swift 3 read text file, swift 4 read text file line by line, swift read text file line by line, swift read text file into array, sorting large text file, script numbering large text file, large text file viewer, algorithm search large text file php, vbscript read header large text file, open large large large text file access access, simple program create text file, quick sort large text file, parsing wikitext text file, parsing data text file java, sorting large text file java, simple cms php text file

Información del empleador:
( 138 comentarios ) Bonita Springs, United States

Nº del proyecto: #17949881

1 freelancer está ofertando el promedio de $30 para este trabajo


Hello how are you? I have good experience in developing mobile app. iOS is my good skill as you saw my profile. I hope working with you. Please contact with me. Thank you.

$30 USD en 1 día
(1 comentario)