Re: [Openvpn-devel] [PATCH v9] convert *_inline attributes to bool

2020-04-27 Thread Antonio Quartulli
Hi, On 27/04/2020 03:57, Arne Schwabe wrote: > Am 22.04.20 um 11:26 schrieb Antonio Quartulli: >> Carrying around the INLINE_TAG is not really efficient, >> because it requires a strcmp() to be performed every >> time we want to understand if the data is stored inline >> or not. >> >> Convert all

Re: [Openvpn-devel] [PATCH v9] convert *_inline attributes to bool

2020-04-26 Thread Arne Schwabe
Am 22.04.20 um 11:26 schrieb Antonio Quartulli: > Carrying around the INLINE_TAG is not really efficient, > because it requires a strcmp() to be performed every > time we want to understand if the data is stored inline > or not. > > Convert all the *_inline attributes to bool to make the > logic

[Openvpn-devel] [PATCH v9] convert *_inline attributes to bool

2020-04-22 Thread Antonio Quartulli
Carrying around the INLINE_TAG is not really efficient, because it requires a strcmp() to be performed every time we want to understand if the data is stored inline or not. Convert all the *_inline attributes to bool to make the logic easier and checks more efficient. Signed-off-by: Antonio