as-com / varint-simd

Decoding and encoding gigabytes of LEB128 variable-length integers per second in Rust with SIMD
https://docs.rs/varint-simd
Apache License 2.0
115 stars 10 forks source link

feature request for two's compliment support #4

Open charchiver opened 1 year ago

charchiver commented 1 year ago

I was wondering if you could add support for variable length signed numbers using two compliment. You might not want to implement this and feel free to close the issue.

charchiver commented 1 year ago

I just realized that the signed integer case can be handled with its own library so if you don't want to add support that's ok. There are also two other github leb128 projects that can handle signed integers. The speed you can manage with more of the library in safe rust is still stunningly fast. Thank you for all your hard work.