kachick/ruby-ulid

pack / unpack

kachick opened this issue ยท 3 comments

I'm not very good at pack/unpack code.
When using them, encoding/decoding might be fast?

I couldn't find the way, and I don't want to take it even if it makes bit faster... ๐Ÿ˜…

https://bugs.ruby-lang.org/issues/18254 ๐Ÿ‘€ Ruby 3.1 got offset...

When using them, we should have array for the ivar instead of current integer. It is negative for me. (Ruby does not have Bytes as crystal for now) ๐Ÿค”