[PATCH 1/5] support: don't pass to set_search_path a big struct by value

Florian Weimer fw@deneb.enyo.de
Wed Mar 27 08:56:00 GMT 2019


* Konstantin Kharlamov:

> It matters in terms of the code as read by human: α) one would no 
> longer wonder why "by-value" is used instead of a "by-pointer",

With by-pointer, the reader has to wonder if the called function
retains a pointer after the call, so it is a wash in this regard.



More information about the Libc-alpha mailing list