This is the mail archive of the
mailing list for the Cygwin project.
Re: tiny /etc/passwd parsing optimization
On Feb 3 13:10, VÃclav Zeman wrote:
> 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.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple