Re: avoid some calls to memset with array initializer

2020-01-02 Thread rmrodriguez
I think this proposal is the same as [1], so you might want to read that thread. 1- https://www.postgresql.org/message-id/flat/201DD0641B056142AC8C6645EC1B5F62014B919631%40SYD1217 On Thu, Jan 2, 2020 at 5:38 PM Justin Pryzby wrote: > > Is there any appetite for use of array initializer rather

avoid some calls to memset with array initializer

2020-01-02 Thread Justin Pryzby
Is there any appetite for use of array initializer rather than memset, as in attached ? So far, I only looked for "memset.*null", and I can't see that any of these are hot paths, but saves a cycle or two and a line of code for each. gcc 4.9.2 with -O2 emits smaller code with array initializer tha