From: Olaf Hering <olh@suse.de>
To: linux-hotplug@vger.kernel.org
Subject: Re: reading config files with klibc slow
Date: Fri, 12 Mar 2004 17:19:57 +0000 [thread overview]
Message-ID: <20040312171957.GA23808@suse.de> (raw)
In-Reply-To: <20040312164156.GA3738@suse.de>
On Fri, Mar 12, Kay Sievers wrote:
> On Fri, 2004-03-12 at 17:41, Olaf Hering wrote:
> > fgets from klibc does a read for each single char, which makes it a bit
> > slow.
>
> Yes ,I noticed this too with a strace.
>
> I prefer a klibc change, but you may ask klibc@zytor.com,
> maybe hpa has any reason to do it one by one.
I have looked at the glibc code, and they implement getline in some odd
but appearently good performing code.
--
USB is for mice, FireWire is for men!
sUse lINUX ag, n√úRNBERG
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&opÃk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
prev parent reply other threads:[~2004-03-12 17:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-12 16:41 reading config files with klibc slow Olaf Hering
2004-03-12 17:06 ` Kay Sievers
2004-03-12 17:19 ` Olaf Hering [this message]
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=20040312171957.GA23808@suse.de \
--to=olh@suse.de \
--cc=linux-hotplug@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).