performace speed up suggestions. - Mailing list pgsql-hackers

From al dev
Subject performace speed up suggestions.
Date
Msg-id 19980214001310.17118.rocketmail@send1b.yahoomail.com
Whole thread Raw
List 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


pgsql-hackers by date:

Previous
From: Phil Thompson
Date:
Subject: Re: [HACKERS] Re: [QUESTIONS] full JDBC driver ?
Next
From: Keith Parks
Date:
Subject: Indexes and OR clauses.