[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)



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]