[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m3my08tzyx.fsf@intrepid.localdomain>
Date: Wed, 20 Jan 2010 19:04:22 +0100
From: Krzysztof Halasa <khc@...waw.pl>
To: Ramagudi Naziir <naziirr@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: how do YOU hack the linux kernel ?
Ramagudi Naziir <naziirr@...il.com> writes:
> do you use vim ?
Sure, for small changes. And emacs.
> If so, how do you open files you want to read/edit ?
> Assuming you don't remember their exact name/location, you'd need to
> use something like 'find . -iname '*pattern*'. which is slow.
Not very slow, if the tree is already in cache. You need only ca. 1 GB
of RAM for this. I never use ".", I use "*" instead as it ignores .git
directory:
$ time find * -iname \*pattern\*
real 0m0.051s
$ time grep "The pattern" * -r
(results)
real 0m0.330s
(grep -i is much slower).
Other tools? Git, gitk and WWW browser :-)
--
Krzysztof Halasa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists