svn commit: r319897 - head/usr.bin/yes
Ronald Klop
ronald-lists at klop.ws
Thu Jun 15 14:17:56 UTC 2017
On Wed, 14 Jun 2017 16:27:52 +0200, Bryan Drewery <bdrewery at freebsd.org>
wrote:
> On 6/14/2017 7:26 AM, Justin Hibbits wrote:
>> On Wed, Jun 14, 2017 at 9:19 AM, Bryan Drewery <bdrewery at freebsd.org>
>> wrote:
>>> On 6/13/2017 5:35 AM, Pietro Cerutti wrote:
>>>> Author: gahr (ports committer)
>>>> Date: Tue Jun 13 12:35:01 2017
>>>> New Revision: 319897
>>>> URL: https://svnweb.freebsd.org/changeset/base/319897
>>>>
>>>> Log:
>>>> Improve yes' throughput
>>>>
>>>> On my system, this brings up the throughput from ~20 to ~600 MiB/s.
>>>>
>>>> Inspired by:
>>>> https://www.reddit.com/r/unix/comments/6gxduc/how_is_gnu_yes_so_fast/
>>>>
>>>> Reviewed by: cognet
>>>> Approved by: cognet
>>>>
>>>> Modified:
>>>> head/usr.bin/yes/yes.c
>>>
>>>
>>> While here we should add libxo support.
>>>
>>> --
>>> Regards,
>>> Bryan Drewery
>>>
>>
>> I think before we add libxo, we need to capsicumize it. After all, it
>> does accept arbitrary arguments.
>
> The code has become more complex. I think capsicum does make sense now
> in case there is an unseen overflow in the new optimized code.
>
>
It already has capsicum...
https://svnweb.freebsd.org/base?view=revision&revision=308432
:-)
More information about the svn-src-all
mailing list