Re: Drawing to two CALayers at once (or pretend to)?
Re: Drawing to two CALayers at once (or pretend to)?
- Subject: Re: Drawing to two CALayers at once (or pretend to)?
- From: vincent habchi <email@hidden>
- Date: Mon, 27 Dec 2010 21:59:22 +0100
Le 27 déc. 2010 à 21:34, Fritz Anderson a écrit :
> On 27 Dec 2010, at 2:04 PM, vincent habchi wrote:
>
>> Knowing that the path is computed by reading values in a database, I'd like to avoid a double reading that costs some time (even if there is a cache) and seems redundant
>
> Ancient precept: Make it right, then make it fast. Do it the simplest reasonable way, even if you can imagine a "more efficient" way to do it. Then measure.
You're absolutely right. My concern was that the cache might not be sufficient to hold all data because DB traffic can be pretty high. But, first of all, I must write out this routine to put the text along the paths, and that isn't going to be easy.
Thanks for your input,
Vincent
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden