"Sergey E. Koposov" <[EMAIL PROTECTED]> writes: > Just the test on IA64 (Itanium2, 1.6Ghz, 8Gb memory). The results seem to > be quite different:
What libc are you using exactly? Can you try it with the unrolled strlcpy I posted? In glibc-2.4.90, there seem to be out-of-line assembly code implementations of strncpy for: sparc64 sparc32 s390x s390 alpha ia64 and an inlined assembler version for i386. So the x86_64 case is nearly the only popular architecture that doesn't seem to have a hand-hacked implementation ... which throws some doubt on Mark's and my results as possibly not being very representative. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org