lkml.org 
[lkml]   [2016]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options


On Sat, 11 Jun 2016, Wolfram Sang wrote:

>
> > It's not as efficient as glimpse because the query language is simpler.
>
> Interesting, what is missing compared to glimpse?

Glimpse allows queries that are arbitrary formulas, up to a limited level
of complexity, involving both && and ||. For idutils, Coccinelle runs lid
on each of the tokens in the formula, and then does unions and
intersections on the result.

julia

> > So more filtering has to be done at the ocaml level. But it's probably
> > fine in most cases.
>
> For me, it has two advantages over glimpse:
>
> a) it is in the debian package repository
> b) the same database can be used with the code browser 'seascope'
> which can do nice things by feeding ctags on the fly with data
> from id-utils.
>
> Mileages vary, of course, just wanted to mention it to give pointers.
>
>

\
 
 \ /
  Last update: 2016-06-11 09:01    [W:0.080 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site