Re: [dev] [st] [PATCH] Optimize memory footprint of line buffers

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Mon, 4 May 2015 12:41:25 +0200

>
> Sorry, there aren't actually two extra padding bytes, even though the
> struct is two bytes longer in length. Don't know what I was thinking.
> Time for a coffee.
>

The problem with this kind of things is they depend too much
of the implementations, because you can have the padding or
not, so the goodness of the change is very relative, so in
this kind of cases I prefer the more standard and cleaner
solution, that in this case is the short based solution.


Regards,
Received on Mon May 04 2015 - 12:41:25 CEST

This archive was generated by hypermail 2.3.0 : Mon May 04 2015 - 12:48:12 CEST