[java-dev] Re: Re: How efficient is coding objects using Java?
Adam Stark
adam.stark at elec.qmul.ac.uk
Fri Oct 26 10:02:16 MDT 2007
- Previous message: [java-dev] Re: How efficient is coding objects using Java?
- Next message: [java-dev] Re: Re: How efficient is coding objects using Java?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi volker, Yes, that is a good suggestion and would make it run much faster. I also found another problem. This is maybe very obvious to more experienced Java users but I am new to using Java for signal processing: I found that, in my loop, when I calculated the square of a number using: Math.pow(x,2); my function took 19ms to do it's calculations. However, when I used: x*x the processing time was reduced to just 3ms. Anyway, thank you everyone for your help, Adam
- Previous message: [java-dev] Re: How efficient is coding objects using Java?
- Next message: [java-dev] Re: Re: How efficient is coding objects using Java?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
