ssbc / bipf

Binary json codec optimized for in-place access
MIT License
48 stars 9 forks source link

Add compare value function #23

Closed arj03 closed 2 years ago

arj03 commented 2 years ago

This function is similar to compareString but instead works on any type. It simply compares the actual encoded buffer to check if they are equal ignoring the type.

staltz commented 2 years ago

+1 to this idea. Is it ready or still draft?

arj03 commented 2 years ago

I have it still as a draft because I wanted to discuss the changes in https://github.com/ssb-ngi-pointer/jitdb/pull/181 first :)

arj03 commented 2 years ago

We ended up not needing this.