]> diplodocus.org Git - nmh/commitdiff
sbr/vector.c: Move assert(3)s into bvector_create().
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 24 Apr 2017 21:58:56 +0000 (22:58 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 26 Apr 2017 06:43:40 +0000 (07:43 +0100)
Rather than asserting on every bit-related operation, assert just when
creating the vector.  Whether the assertion is true is decided at
compile time, so it only needs checking once;  once for every vector is
an easy compromise.


No differences found