Re: Which qsort is used
От | Bruce Momjian |
---|---|
Тема | Re: Which qsort is used |
Дата | |
Msg-id | 200512121650.jBCGoAP21133@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Which qsort is used (Qingqing Zhou <zhouqq@cs.toronto.edu>) |
Ответы |
Re: Which qsort is used
Re: Which qsort is used |
Список | pgsql-hackers |
Qingqing Zhou wrote: > > Seems we don't link against the port/qsort.c - is there any reason for > that? My tests indicates our qsort is much much faster than the libc's. We haven't been able to determine if the OS's qsort or pgport's is faster. Right now we only force pgport qsort on Solaris (from configure.in): # Solaris has a very slow qsort in certain cases, so we replace it.if test "$PORTNAME" = "solaris"; thenAC_LIBOBJ(qsort)fi Are you willing to say that we should always prefer pgport over glibc's qsort()? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-hackers по дате отправления: