> >you sure about this? i could see MemPtrUnlock() written as:
> >
> >void
> >MemPtrUnlock(void *ptr)
> >{
> >  MemHandleUnlock(MemPtrRecoverHandle(ptr));
> >}
> >
> >its been a while since i looked at the os source in this area tho
> >that will tell you for sure which one is 'faster' :)
> 
> MemPtrUnlock does not recover the handle as above. It is slightly 
> faster than MemHandleUnlock because there are fewer checks and 
> de-references being performed on the passed parameter.

thats why i said 'i could see' - but, knowing the OS source code,
they make assumptions on the pounter to get the handle et al. 
either way, i doubt the speed difference is enough to really be
an issue dont you think?

---
Aaron Ardiri                           [EMAIL PROTECTED]
CEO - CTO                                              +46 70 656 1143
Mobile Wizardry                         http://www.mobilewizardry.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to