performace speed up suggestions.

Поиск
Список
Период
Сортировка
От al dev
Тема performace speed up suggestions.
Дата
Msg-id 19980214001310.17118.rocketmail@send1b.yahoomail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Phil Thompson
Дата:
Сообщение: Re: [HACKERS] Re: [QUESTIONS] full JDBC driver ?
Следующее
От: Keith Parks
Дата:
Сообщение: Indexes and OR clauses.