KSDaemon / wampy.js

Feature-rich lightweight WAMP (Web Application Messaging Protocol) Javascript implementation
https://ksdaemon.gitbook.io/wampy.js/
MIT License
290 stars 41 forks source link

Using kawanet/msgpack-lite as msgpackCoder #32

Closed livelazily closed 7 years ago

livelazily commented 7 years ago

kawanet/msgpack-lite is much faster and size smaller than msgpack5

Here is the benchmarks: https://github.com/kawanet/msgpack-lite#benchmarks

Using msgpack-lite for wampy-all.min.js can probably reduce the file size by half

KSDaemon commented 7 years ago

Hi @livelazily! Yes, i know about msgpack-lite and all others implementations. But there is one problem with msgpack-lite — it isn't compatible with crossbar WAMP router msgpack implementation. But msgpack5 works well with crossbar and Wiola without any problems. That's why it was choosen.