Re: Which way is more efficient to get particular EOEnterpriseObject
Re: Which way is more efficient to get particular EOEnterpriseObject
- Subject: Re: Which way is more efficient to get particular EOEnterpriseObject
- From: Steven Mark McCraw <email@hidden>
- Date: Thu, 16 Aug 2007 10:52:11 -0400
ditto for me. My early code is littered with tons of complex data
structures (dictionaries, arrays of arrays, lists, etc) created with
the intent of diminishing performance overhead. I have come to
believe that the best strategy you can take for something like this
is just to build it the easiest way first, and if it's miserably
slow, find the bottlenecks and fix them. If it isn't slow, you have
more maintainable code and you didn't waste any time optimizing
unnecessarily.
Mark
On Aug 16, 2007, at 8:17 AM, James Cicenia wrote:
When I first started with WebObjects I was very worried about all
the overhead
of creating EOs, etc.
Well like some said here,, build it the easy way using WO and see
if you really
need to optimize. I use filtered arrays on relationships all the
time and it works
really well. I easily have over 100 related objects though not 1000s.
WebObjects has been an excellent performer and has scaled very
linearly for us
too. So, build it using WO as easy as possible and then really see
if you need
to optimize.
James
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden