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

종료 등록 시간: 5년 전 착불
종료 착불

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]

스위프트

프로젝트 ID: #17949881

프로젝트 소개

1건(제안서) 재택 근무형 프로젝트 서비스 이용 중: 5년 전

이 프로젝트의 입찰 현황은 다음과 같습니다. 입찰자: 1명, 평균 입찰가: $30

itwonder1

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 (1일 이내)
(1 리뷰)
2.6