« Return to Thread: Which performs best: C loop calling short Io or Io loop calling short C routine?

Re: Which performs best: C loop calling short Io or Io loop calling short C rout

by dennisf486 :: Rate this Message:

Reply to Author | View in Thread

Right, but the 'display' method uses Io + OpenGL to do the displaying!  Of course I could just call OpenGL functions directly from the C/C++ routine and not touch Io at all, but that kind of defeats the purpose.
 
> If the number of iterations is high, then you'd probably want to put  
> the cursor enumeration bit in C - something like:
>
> cursor := Cursor clone
> cursor display // display is a C function which will handle the loop  
> in C
>


 « Return to Thread: Which performs best: C loop calling short Io or Io loop calling short C routine?