bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue with ls -v / sort -V and strverscmp() usage


From: Jim Meyering
Subject: Re: Issue with ls -v / sort -V and strverscmp() usage
Date: Mon, 22 Sep 2008 14:21:23 +0200

Bruno Haible <address@hidden> wrote:
> Hi Kamil,
>> New version of filevercmp.c is attached, now without copying of the input
>> strings. I've also made a simple performance test - the speed was about 7-8x
>> slower than original glibc strverscmp function, but the glibc's result is
>> mostly wrong.
>
> If you didn't get feedback from Jim, here's mine.

Hi Bruno,

Thanks for replying.
Kamil and I talked on IRC, but not about these particular points.

> Indeed speed matters less than correctness. First get the results right,
> then only think about optimization.

I agree completely.

> For a use in 'ls', the time of the
...

Kamil, you may expect to use the new function in ls, too.
The more I think of this, the more I'm convinced producing
sensible results is what matters here.  Being completely
compatible with older versions of ls -v is not important.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]