This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tiny /etc/passwd parsing optimization


On Feb  3 13:10, VÃclav Zeman wrote:
> Hi.
> I was looking into how to speed up /etc/passwd parsing. Here is a
> trivial patch that improves pwdgrp::parse_passwd() by a tiny bit.
> Similar change can be applied to pwdgrp::parse_group() as well. The
> resulting assembler shows that it avoids recomputing the pointers into
> the array.

Cool, I applied the patch.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]