Re: [Rd] OOP performance, was: V2.9.0 changes [SEC=Unclassified]

2009-07-02 Thread Troy Robertson
> Sent: Friday, 3 July 2009 10:29 AM > To: Troy Robertson; r-devel@R-project.org > Subject: Re: [Rd] OOP performance, was: V2.9.0 changes [SEC=Unclassified] > > In terms of performance if you want the fastest > performance in R go with S3 and if you want > even faster performan

Re: [Rd] OOP performance, was: V2.9.0 changes

2009-07-02 Thread Gabor Grothendieck
In terms of performance if you want the fastest performance in R go with S3 and if you want even faster performance rewrite your inner loops in C. All the other approaches will usually be slower. Also S3 is simple, elegant and will result in less code and take you much less time to design, program

Re: [Rd] OOP performance, was: V2.9.0 changes [SEC=Unclassified]

2009-07-02 Thread Troy Robertson
Hi Thomas, It is a population-based model, but I didn't develop the work. I am just the programmer who has been given the job of coding it. The goal is to allow for a plug and play type approach by users to construction of the model (of both elements and functionality). Hence my focus on OO.

[Rd] OOP performance, was: V2.9.0 changes

2009-07-02 Thread Thomas Petzoldt
Hi Troy, first of all a question, what kind of ecosystem models are you developing in R? Differential equations or individual-based? Your write that you are a frustrated Java developer in R. I have a similar experience, however I still like JAVA, and I'm now more happy with R as it is much more