slang-users mailing list

[2001 Date Index] [2001 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

What's faster ?


Hi,

I wonder what is faster/more efficient and how much the gap is between
accessing the function arguments directly like

int func(int *arg1,int *arg2)
{
  printf("%d %d",*arg1,*arg2);
}

or with pops

int func()
{
  printf("%d %d",SLang_pop_integer(),SLang_pop_integer());
}

thanks in advance,

           Richard van Zon.



[2001 date index] [2001 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]