From: Krzysztof Halasa <khc@pm.waw.pl>
To: Ramagudi Naziir <naziirr@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: how do YOU hack the linux kernel ?
Date: Wed, 20 Jan 2010 19:04:22 +0100 [thread overview]
Message-ID: <m3my08tzyx.fsf@intrepid.localdomain> (raw)
In-Reply-To: <dfb262381001190452k3bad790ax14bbdbe92210b2d3@mail.gmail.com> (Ramagudi Naziir's message of "Tue, 19 Jan 2010 14:52:57 +0200")
Ramagudi Naziir <naziirr@gmail.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
next prev parent reply other threads:[~2010-01-20 18:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 12:52 Ramagudi Naziir
2010-01-19 13:15 ` Samuel Thibault
2010-01-19 14:29 ` Américo Wang
2010-01-20 6:35 ` Petr Uzel
2010-01-20 8:33 ` Michael Wookey
2010-01-20 18:04 ` Krzysztof Halasa [this message]
2010-01-21 0:15 ` Andi Kleen
2010-01-29 8:10 ` Daniel Mack
2010-01-29 11:37 ` Andy Walls
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3my08tzyx.fsf@intrepid.localdomain \
--to=khc@pm.waw.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=naziirr@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®