Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Code improving

Former Member
1,468

Hi experts , <removed by moderator>.

I have created a program to do a test by using the class as showed in the coding below. the problem is that the running time of the program is so much (more than 5 minutes) after testing it with SAT . Now I need to imporve the code. Do you have some ideas or guidances for me? I am thinking about a select statment ?

6 REPLIES 6
Read only

Sandra_Rossi
Active Contributor
1,312

You need to analyze the SAT trace. Unless someone is an expert in the methods you used, I don't see how it is possible for anyone to guess what contains your SAT trace.

Read only

Former Member
0 Likes
1,312

as i have already wrote I checked the SAT TRACE and this method is the problem and i need to improve the coding

Read only

JanaSharb
Explorer
1,312

in your Place i will use the hashed table cause i found it more effective as the standard table in case you will go with the select statement

Read only

Sandra_Rossi
Active Contributor
1,312

You need to go deeper in the trace. Only you can do it. Nobody can guess the trace.

Read only

pokrakam
Active Contributor
1,312

Please don't post screenshots of code. Past the code and use the CODE button to format it.

See: http://idownvotedbecau.se/imageofcode (no I didn't downvote ... this time)

Read only

kasralikarpratik
Explorer
1,312

Clear your tables when you are done with it. I can see you are calling method inside loop and changing internal table, how many records are there in that internal table?. Also create object instance of the class rather than directly calling the method.