realbasic-nug
[Top] [All Lists]

Re: High Performance Code (Was: Bitwise Shift operators)

To: "REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: High Performance Code (Was: Bitwise Shift operators)
From: Daniel Stenning <d0stenning at msn dot com>
Date: Sat, 29 Sep 2007 19:37:19 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AcgCx8P9Al8H7m67Edy8rgAbY5KfzA==
Thread-topic: High Performance Code (Was: Bitwise Shift operators)
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.


On 29/9/07 18:48, "Charles Yeomans" <charles at declareSub dot com> wrote:

> 
> On Sep 29, 2007, at 1:36 PM, Norman Palardy wrote:
> 
>> 
>> On 29-Sep-07, at 11:02 AM, Charles Yeomans wrote:
>> 
>>> I tried this (actually i\2).  It saved a few ms, but that's it.
>> 
>> Wonder if getting rid of the various p.single(0) p.integer(0)
>> accesses would not alter that
>> Seems that there are a fair number of accessor methods called
>> 
> 
> I'm not sure.  As I recall, these are not method calls.
> 
> Charles Yeomans
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
> 

Cheers,
Dan




_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>