Just done that.

Funnily enough - no big difference. The C version is still around 7 seconds,
versus 15 seconds for Pure RB.

Heres the c code:


void copySingle (int iterations, int count, float * A, float * B ) {

int i;
int j;

for ( j = 0; j < iterations ; j++ )
  {
    for ( i = 0; i < count ; i++ )
    {
      B[i] = A[i] ; //* (float)count;
    }
  }
};

As before the nr of iterations was 9000 and the inner loop count is 44100

This seems to suggest that the remaining performance issue is in how RB is
dereferencing the pointer.

In any case I'll be sleeping a little happier tonight.

On 16/5/07 21:16, "Daniel Stenning" <[EMAIL PROTECTED]> wrote:

> 
> I'm now going to go away and do as frank suggests and put both loops inside
> the C function.

Regards,

Dan



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

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

Reply via email to