Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

program slows exponentially
Hi,

My problem is that my Java program runs too slowly, and in a way that I don’
t understand.  What I have written is a simulator that models a chemical rea
ction.  
The code seems to work ok, giving the kind of output I expect.  As part of t
he input parameters I specify the “size” of the system that is reacting.  Fo
r a very small system, this runs to completion within a few minutes on a  PC
, which is fine.  However, as soon as I increase the system size, the execut
ion time increases exponentially, in the sense that doubling the system size
 increases the execution time by far more than a factor of 2.  This causes t
he problem that, for a system size big enough to give a useful output, the e
xecution time quickly ramps nastily.  

I realise that any code (including mine) could be optimised for speed, given
 enough time and attention.   But I wondered if the symptoms of “exponential
 slowing” that I’m finding are a pointer to something else other than code i
nefficiency being the problem.

Any suggestions?

Report this thread to moderator Post Follow-up to this message
Old Post
barbel
05-22-08 01:59 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Programmer archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 12:14 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.