On Sep 29, 2007, at 2:37 PM, Daniel Stenning wrote:
> Talking of which, one bit of tedium I find myself having to do a
> lot of
> these days is assigning a memoryblock reference to a Ptr variable,
> in order
> that I can do high performance processing on memoryblocks. It makes
> a hell
> of a difference to use the Ptr dereferencing syntax instead of the
> memoryblock methods. I really wish there were a built in property
> that just
> always gave us the pointer to the memoryblock. I have wrapper
> "buffer"
> class that does just this, but I still wish it were automatically
> built in.
For high-performance code, i would think that you'd want to cache the
address in a local variable.
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|