On Fri, 6 Sep 2019 14:05:06 -0500 Honnappa Nagarahalli <[email protected]> wrote:
> Add templates to support creating ring APIs with different > ring element sizes. > > Signed-off-by: Honnappa Nagarahalli <[email protected]> > Reviewed-by: Dharmik Thakkar <[email protected]> > Reviewed-by: Gavin Hu <[email protected]> > Reviewed-by: Ruifeng Wang <[email protected]> Understand the desire for generic code, but macro's are much harder to maintain and debug. Would it be possible to use inline code taking a size argument and let compiler optimizations with constant folding do the same thing. Sorry, I vote NO for large scale use of macro's.

