Reduce scope some variables

Ranier Vilela ranier.vf at gmail.com
Fri Nov 5 12:35:18 UTC 2021


Hi,

Is there any interest in safely reducing the scope of variables?
I think this improves readability and may have some tiny effect on
performance.

An example is attached.

regards,
Ranier Vilela
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20211105/728be879/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ngx_array_reduce_scope.patch
Type: application/octet-stream
Size: 1014 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20211105/728be879/attachment.obj>


More information about the nginx-devel mailing list