Yeah, en/decoding results and parameters from and to JS types is also quite the timewaster
This was from C++, the encoding wasn't really a factor.