chaokunyang commented on code in PR #2335:
URL: https://github.com/apache/fory/pull/2335#discussion_r2144565575
##########
python/pyfory/_struct.py:
##########
@@ -259,7 +259,13 @@ def visit_customized(self, field_name, type_,
types_path=None):
if typeinfo is not None:
hash_value = typeinfo.type_id
if TypeId.is_namespaced_type(typeinfo.type_id):
- hash_value = compute_string_hash(typeinfo.namespace +
typeinfo.typename)
+ namespace_str = typeinfo.namespace_bytes.decode(
+ self.fory.type_resolver._resolver.namespace_decoder
Review Comment:
We don't need to move MetaStringDecoder into cython, it's not in critical
path, keeping it in python is more easy to maintain
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]