On Wed, 14 Jun 2017 16:27:52 +0200, Bryan Drewery <bdrew...@freebsd.org> wrote:

On 6/14/2017 7:26 AM, Justin Hibbits wrote:
On Wed, Jun 14, 2017 at 9:19 AM, Bryan Drewery <bdrew...@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

:-)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to