FUJI Goro
FUJI Goro
Thanks for the contribution. I think Perl6 is not compatible from Perl5 so you shouldn't extend Perl6 lexer from Perl lexer.
As you said, decoding keys is very slow, so this library already has a mechanism to cache short keys [contributed by @sergeyzenchenko](https://github.com/msgpack/msgpack-javascript/pull/54): * https://github.com/msgpack/msgpack-javascript/blob/master/src/CachedKeyDecoder.ts You can see a cache-hit rate...
Schema-based serialization should be useful for robust systems, by the way. I'd like to design it after https://github.com/tc39/proposal-decorators is standardized (see also #91).
I see. It makes sense, but in such a case, I recommend ProtocolBuffers, which is designed in the very case and has tools to maintain the schema.
Thank you for your report. This is the specification and won't be fixed because MessagePack is designed to communicate in multi-languages. I won't add any flavors by default. However, any...
Thank you for your effort, but I'm not sure it's useful for everyone, because `decode()` cannot know how to retrieve the encoded data. Instead, I recommend using [type extensions](https://github.com/msgpack/msgpack-javascript#extension-types), which...
Hmm, still I'm not sure `toJSON` is reliable for general-purpose serializers/deserializers . It's reasonable that some objects like `moment.js`'s provides `toJSON` because it's used not only for serialization but also...
This is because there's no `int64` in JavaScript. A `number` that `Number.isSafeInteger()` returns `false` is **NOT** a precise integer (or not a "safe" integer) so that you should not deal...
Thanks. This seems an interesting idea, but decorators are not standardized yet, so I won't implement them for the time being.
That's a good question. There's an example in [test/reuse-instances.test.ts](https://github.com/msgpack/msgpack-javascript/blob/main/test/reuse-instances.test.ts), but they only accepts positional parameters right now, so I might change their interfaces to accept named parameters just like as...