Skip to content

0.5.0

Compare
Choose a tag to compare
@martinmoene martinmoene released this 10 Jul 08:32
· 39 commits to master since this release

ring_span-lite v0.5.0 adds template parameter flag CapacityIsPowerOf2 and class ring.

CapacityIsPowerOf2 is an extension (nsrs_CONFIG_STRICT_P0059=0). With CapacityIsPowerOf2 being true, method normalize_() to compute the buffer index is optimized to use bitwise and instead of modulo division.

class ring is a data-owning ring class. See the discussion on design at issue #20.

Additions:

Changes:

  • Handle lest test framework as system include to prevent warnings.
  • Change 'on conan' link to refer to conan center.

Fixes:

  • none