Keith Medcalf <kmedc...@dessus.com> wrote: > > On Monday, 7 October, 2019 14:58, Dominique Pellé < > dominique.pe...@gmail.com> wrote: > > >Here the allocated size is fixed (always 64 pointers), so alloca does > >not seem needed. > > >I wonder how many other functions could avoid dynamic allocation > >like this one (either with a stack array or alloca). > > Probably a lot. [...]
I don't think that there are a lot of other such avoidable malloc. I searched the source code and could not find any (I may have missed some of course). For the records, I see that the proposed change has been merged (slightly modified): https://www.sqlite.org/src/info/5d76dbc5b0584c15 Regards Dominique _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users