lkml.org 
[lkml]   [2016]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 4/8] scripts: add glimpse.sh for indexing the kernel
Overall, idutils seems to be a good choice.  As compared to a grep based 
solution, it knows what is code, so it doesn't report on files where the
words of interest only occur in comments. As compared to glimpse, it
knows that foo_bar is a single word. Indexing is faster than with
glimpse, and looking things up in the index is also slightly faster, even
though Coccinelle needs to make multiple calls because it doesn't support
complex formulas. It does support regexps, which could perhaps be even
faster, but since the running time currently is mostly under 1 second and
often under .1 seconds, it probably doesn't matter.

julia

\
 
 \ /
  Last update: 2016-06-18 13:21    [W:0.156 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site