Re: add non-option reordering to in-tree getopt_long
| От | Nathan Bossart |
|---|---|
| Тема | Re: add non-option reordering to in-tree getopt_long |
| Дата | |
| Msg-id | 20230621175624.GA882103@nathanxps13 обсуждение исходный текст |
| Ответ на | Re: add non-option reordering to in-tree getopt_long (Kyotaro Horiguchi <horikyota.ntt@gmail.com>) |
| Ответы |
Re: add non-option reordering to in-tree getopt_long
|
| Список | pgsql-hackers |
On Tue, Jun 20, 2023 at 02:12:44PM +0900, Kyotaro Horiguchi wrote: > The argv elements get shuffled around many times with the > patch. However, I couldn't find a way to decrease the count without > resorting to a forward scan. So I've concluded the current approach > is them most effeicient, considering the complexity. Yeah, I'm not sure it's worth doing anything more sophisticated. > I tried some patterns with the patch and it generates the same results > with the glibc version. > > The TAP test looks fine and it catches the change. > > Everything looks fine to me. Thanks for reviewing. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления: