News for hackers. Stuff that matters.

blassium

Re:Make grep 50x faster on Sunday December 15, 2013 @12:23PM (#6910036)
There was a really interesting post on here a while back on GNU grep vs BSD grep (2010)[1]

The improvement mentioned here also has to do with the Boyer-Moore algorithm. When switching the locale from LANG=whatever to LANG=C, we're reducing the size of the lookup table to a fraction of what it previously was. In this case, the fraction is 1/50th, but, as the author said, this will vary between patterns and platforms.

[1] http://lists.freebsd.org/pipermail/freebsd-current/2010-Augu...

It's nice to see something like this, when programming in startups today involves a lot hand waving about efficiency and a "fuck it, ship it" attitude.
Re:Belt.io - The fastest way to share on Saturday December 14, 2013 @10:58AM (#6905955)
Fastest way to share? Oh, it's a clipboard. But in the cloud. For text and pictures. So, email? Not understanding the product at all or why I would sign up.