Justin Deoliveira ha scritto:
> Thanks for the input Simone.
> 
> Perhaps I can clarify something. The property access stuff was *not* 
> designed to ignore performance, quite the contrary. It is a level of 
> indirection that was added to allow multiple concerns to be addressed, 
> one major one being performance.

I'm a little lost here. How do you address performance by using property 
accessors? You seem to imply the work is unfinished, and the stuff that 
could help performance is missing. So, what is that we're missing?

> But also to my defense this was discussed on the mailing list, designed 
> on a wiki page, etc.. To be blunt the people developing on 2.3.x did not 
> care since it was happening on trunk.

I am guilty, I know. On the other side, I don't really know how could I 
devote more time to gt2 and geoserver than I'm doing now, I would 
probably have to give up either sleeping or family.
Is it too much to expect that performance and correctness be taken into
consideration when doing new designs?

> I agree that it is important to take performance into account when 
> coming up with a design. But I disagree that it should be the driving 
> force. I have found that pre-optimization usually leads to one wasting 
> cycles thinking about what *might* happen. I have found ( and this is 
> just my opinion of course ), that it is a far more effective use of time 
> to analyze after the fact with a profiler to find out what *actually* is 
> happening and then optimize. If the original design was good enough one 
> should be able to fix any bottlenecks that arise. If not then it needs 
> to be readdressed.

By the time you can use a profiler, the design is done and coded in 
detail. Assuming you can bend it to get good performance is a leap of 
faith. Performance is one of the considerations that need to be 
addressed in both design and implementation, not at a crazy level,
but you have to consider basics at least, have an idea of how many
objects are created and throw away, of what is running in the innermost 
loops, I'm talking about basics here, not details, nor voodoo.
Detailed performance can be fixed using a profiler, 2 orders of 
magnitude slowdowns may be something that can be fixed, or the design
may make it impossible.

Cheers
Andrea

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to