Jump to content

Large file read to AutoIt again but faster


Recommended Posts

Posted (edited)

I have some large file which I have to read to AutoIt to make some checking but reading same file again and again take a lot of time. I was wondering if I can save that file in some other way to read it in Autoit faster? It's report (text file) with tab character column separator. Maybe I can save it in RAM or something?

Any idea?

Edited by maniootek
Link to post
Share on other sites
20 hours ago, Danp2 said:

There aren't many details in your request. How are you currently reading the file? Have you looked into using FileReadToArray or _FileReadToArray?

My code use FileRead, StringSplit and some loop to convert file to array but I just tried _FileReadToArray and it's very fast. Instead of 60sec I wait now about 1-2 sec. That is incredible change! Thank you very much!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...