cbor-ruby
cbor-ruby copied to clipboard
Identical branches in buffer_class
Identical branches in
https://github.com/cabo/cbor-ruby/blob/4e8b2ec982f41cfcd6568a429add205c8259f470/ext/cbor/buffer_class.c#L76-L80
https://github.com/cabo/cbor-ruby/blob/4e8b2ec982f41cfcd6568a429add205c8259f470/ext/cbor/buffer_class.c#L87-L90
We can replace 'else if', this improves performance slightly