Re: Is FSEvents more efficient than polling?
Re: Is FSEvents more efficient than polling?
- Subject: Re: Is FSEvents more efficient than polling?
- From: Michael Starke <email@hidden>
- Date: Sun, 28 Apr 2013 19:52:39 +0200
An educated guess would be that polling should be less efficient as the event based FSEvents.
Any reason you do not want to tap into the FSEvents API?
You concerns about weakening is nothing I would consider, as you're talking about reading, which should be considered harmless (in the physical sense, not the performance point of view)
-Michael
On 28.04.2013, at 19:43, Steven Degutis <email@hidden> wrote:
> There is a library I'm using that is reading a list of files every 0.5
> seconds and watching for the last-modified attribute to change.
>
> Is this less efficient than using FSEvents? If so, how? For example, will
> it weak down the HDD or SSD faster? Run the battery of my laptop out
> sooner? Some other way?
>
> Thanks.
>
> -Steven
> _______________________________________________
>
> 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
___m i c h a e l s t a r k e____
geschäftsführer
HicknHack Software GmbH
www.hicknhack-software.com
___k o n t a k t____
+49 (170) 3686136
email@hidden
___H i c k n H a c k S o f t w a r e G m b H____
geschäftsführer - maik lathan | andreas reischuck | michael starke
bayreuther straße 32
01187 dresden
amtsgericht dresden HRB 30351
sitz - dresden
_______________________________________________
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