Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Advanced-java] improving performance of recursive algorithm


  • From: mergen@xxxxxxxxxxxx (Sergio Luis Sardi Mergen)
  • Subject: [Advanced-java] improving performance of recursive algorithm
  • Date: 22 Mar 2002 10:53:30 -0200

hello list


 i'm wondering how i can increase the performance of a recursive
algorithm..It takes data from a database and perform some tasks. It
takes quite a while to complete the tasks when dealing with a large
amount of data. The algorithm makes use of: 

 string concatenation
 type casting
 use of hashtable/Vector (necessary)
 use of labels


 does any of these affect the performance?

 Some of the above can be removed (with some pain), like the use of
labels, but i'm afraid i have to use Hashtables and Vectors. But even so
it would be good to know all that can influence the results.


thanks very much for helping


Sergio