Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rames
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
GNU grep vs git grep vs jrep
(coreperf.com)
3 points
by
rames
12y ago
|
0 comments
2.
▲
More grep vs rejit benchmarks
(coreperf.com)
5 points
by
rames
13y ago
|
0 comments
3.
▲
by
rames
13y ago
Note that I didn't chose the worst case for grep. But probably not the best either. First thing I tried just now: $ time grep -R "yoyo\|regexp" linux-3.10.6 > /dev/null real 0m2.138s user 0m1.875s sys 0m0.252s $
4.
▲
by
rames
13y ago
Anything working yet ? SSE4.2 is not mandatory. Rejit works without it as well (SSE support detected dynamically), it just gives excellent performance with a relatively simple implementation. Support for earlier versions of SSE can easily b
5.
▲
by
rames
13y ago
Support for backreferences can be added without making the whole engine backtracking. See more detailed comments at: https://plus.google.com/114767693573247408592/posts/ZeUHc7ro... Edit: So we can keep the best of
6.
▲
Rejit - prototype of a non-backtracking, just-in-time, SIMD-able regexp compiler
(coreperf.com)
81 points
by
rames
13y ago
|
18 comments
7.
▲
by
rames
15y ago
I don't like the idea of excluding all comments from the code. However excluding useless or local comments from a repository can be legitimate. Two potential solutions: 1) Use a regexp to match your comments and trim your code before commit