-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Description
Is your feature request related to a problem? Please describe.
I'm always frustrated when working with code that heavily relies on reflect because of its significant performance overhead. Operations like type assertions, object field access, and method invocation through reflect are much slower compared to direct, statically-typed counterparts.
Describe the solution you'd like
I would like to rewrite the relevant parts of the codebase to use generics instead of reflect. Similar to how the livekit/psrpc project uses generics to avoid reflect in its Protobuf.
Metadata
Metadata
Assignees
Labels
No labels