performace speed up suggestions.

al dev <aldevpgsql@yahoo.com>

From: al dev <aldevpgsql@yahoo.com>
To: pgsql-hackers@postgresql.org
Date: 1998-02-14T00:13:10Z
Lists: pgsql-hackers
tip1: I find many string functions calls like strcpy, strncpy
, strcat etc.. in the code.

Is not faster if you use memcpy, memset, sizeof() functions calls? 
Especially watch those areas inside the for loop and while loop.

tip 2: Inside for loops, where functions are called
it will be faster to declare and assign in one step
like
  int ii=22;
instead of 
  int ii;
  ii = 22;





_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com