heroiclabs / nakama-defold

Defold client for Nakama server.
https://heroiclabs.com
Apache License 2.0
74 stars 12 forks source link

Use base64 from the `crypt` extension if it's available #64

Closed aglitchman closed 1 year ago

aglitchman commented 1 year ago

It seems that the Nakama client does lots of base64 encode-decode for RPC. I'm pretty sure that the pure Lua implementation of base64 hurts performance a lot (especially in HTML5).

It would be great if Nakama Defold Client could optionally use base64 functions from the official crypt extension.

https://defold.com/extension-crypt/