Sign in to follow this  
Followers 0
Rux

Excel.au3 _ExcelReadSheetToArray Slower In New AutoIT Than Old?

7 posts in this topic

Ok, so I have this program I am working on that uses Excel.au3, it handles with excel files that have around 10,000 rows. Now, I had an older version of AutoIT (forgot it, but it was downloaded in 2010) and then just decided to update today, and now the above stated function takes about 10 minutes to go through, where before it only took about a minute and a half. Why is it taking so much longer now?

Thanks.

Share this post


Link to post
Share on other sites



Which version did you use before, which do you use now?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

That function is badly written. There is one bug report directly related to it. Even suggested alternative.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Which version did you use before, which do you use now?

I used 3.3.6.1 before, now I use the newest one, which is 3.3.8.1.

That function is badly written. There is one bug report directly related to it. Even suggested alternative.

Alternative? Does that mean I have to make my own function that does this?

Share this post


Link to post
Share on other sites

No. Have a look at this ticket and you'll find a modified version of the function.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Wow, thanks! That function reduced the loading time to around 2-3 seconds!

Share this post


Link to post
Share on other sites
:D

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


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
Sign in to follow this  
Followers 0