Re: [Proposal][patch] Add `const` for reference only pointer C function argument

2016-09-20 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: > Title is as it is. > > Merit: > - Compiler optimizations will be a bit smarter. > - Execution speed will be a bit faster. > - Compiler us warn the code assignment wrong. > > Demerit: > - None. (maybe) > > I made a patch for proposal. > How about this? > > When it's

[Proposal][patch] Add `const` for reference only pointer C function argument

2016-09-20 Fir de Conversatie h_east
Hi Bram and list, Title is as it is. Merit: - Compiler optimizations will be a bit smarter. - Execution speed will be a bit faster. - Compiler us warn the code assignment wrong. Demerit: - None. (maybe) I made a patch for proposal. How about this? When it's Okay, I'll continue with the