chaokunyang opened a new issue, #1956:
URL: https://github.com/apache/fury/issues/1956
### Feature Request
We could provide some extra type information to mmake fury serialization
faster.
The annotation can be like following:
```java
@TypeInfo(fieldsNullable = false, trackingRef = false, polymorphic = false)
class Foo {
@FieldInfo(trackingRef = false)
int[] intArray;
@FieldInfo(polymorphic = true)
Object object;
@FieldInfo(tagId = 1, nullable = true)
List<Object> objectList;
}
```
Or
```java
@Type(fieldsNullable = false, trackingRef = false, polymorphic = false)
class Foo {
@Field(trackingRef = false)
int[] intArray;
@Field(polymorphic = true)
Object object;
@Field(tagId = 1, nullable = true)
List<Object> objectList;
}
```
### Is your feature request related to a problem? Please describe
_No response_
### Describe the solution you'd like
_No response_
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
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]