Curt Sampson <cjs(at)cynic(dot)net> writes:
> But this would only cost us more syscalls, which are relatively
> inexpensive (compared to things like memory copies) anyway.
Run that by me again?
I'd take memcpy over a kernel call any day. If you want to assert
that the latter is cheaper, you'd better supply some evidence.
regards, tom lane