> > The storage heap is protected from accidental modification. > > When you call a > > Data Manager API that modifies the storage heap, it > > temporarily allows write > > access to the storage heap. That's what I was referring to. However, > > DmFindSortPosition doesn't modify the storage heap, or at least it > > shouldn't. (It's generally safe to assume that the comparison > > callback is > > non-destructive.) So I was wrong - there is no significant performance > > penalty for rolling your own binary search routine. > > -- > > Danny @ PalmSource
I'm no expert on the details of the Data Manager internals, so I'm sure what you're saying is true. But I don't understand something. I'm not trying to be argumentative, but why is it that PalmSource doesn't seem to want to fix this problem by providing a Glue function? There are certainly many developers and applications who could benefit from it. You know it's a problem and you have a fix for it. What is the reason for NOT providing a Glue function? Tom Ward -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
