Hey!
I am looking at improving performance on an app using heavily geoip lookup and I am wondering if there was something between using reflect and a custom deserializer (as introduced in #74). reflect can be slow and it should be possible to use something like DecodeFieldAsString(offset uintptr, fields ...string) string.
I didn't try to use the deserializer interface as it is not really documented. An alternative would be an example on how to use it. The associated tests are strictly technical, so it is hard to understand how difficult this is.
Hey!
I am looking at improving performance on an app using heavily geoip lookup and I am wondering if there was something between using
reflectand a custom deserializer (as introduced in #74).reflectcan be slow and it should be possible to use something likeDecodeFieldAsString(offset uintptr, fields ...string) string.I didn't try to use the deserializer interface as it is not really documented. An alternative would be an example on how to use it. The associated tests are strictly technical, so it is hard to understand how difficult this is.