On 12/13/18 3:37 PM, Peng Yu wrote:
Hi,`readlink` is faster than `realpath` for a large number of input arguments. Note that the former starts slower than the latter. What tricks is used in readlink to make it faster? Thanks.
Why don't you use strace and/or read the code to compare the two implementations, instead of asking someone else to do it for you?
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
