[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Interesting results for getservbyname() performance (and possible changes for /etc/services)
- From: Callum Lerwick <seg haxxed com>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Subject: Re: Interesting results for getservbyname() performance (and possible changes for /etc/services)
- Date: Thu, 12 Jan 2006 12:58:49 -0600
Err, how often are service lookups done? How performance critical is
this, really? Seems to me an application doing a large number of lookups
is best off just slurping in /etc/services itself (Or just keep its own
service list) and building its own hash table in RAM or whatnot. (Which
IIRC is what stuff like nmap and ethereal do...)
Benchmark a real application first, then optimize. ;P
Attachment:
signature.asc
Description: This is a digitally signed message part
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]