You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, a lot of stuff is repetitive, and will probably inflate the dylib size.
Probably this can be reduced to
FFI_PLUGIN_EXPORTjobjectcom_fasterxml_jackson_core_JsonParser_nextToken(jobjectself_) {
CallObjectMethodHelper(
&_c_com_fasterxml_jackson_core_JsonParser, // variable holding class reference"com/fasterxml/jackson/core/JsonParser", // class name literal&_m_com_fasterxml_jackson_core_JsonParser_nextToken, // variable holding a method ID"nextToken", "()Lcom/fasterxml/jackson/core/JsonToken;"// method name and signature literalsself_,
// possibly next arguments, maybe variadic list.
);
}
theoretically, the best compression one can achieve is storing the identifying tuple of a method to a table, so nothing is duplicated. But realistically, I think there's some low hanging fruit here.
The text was updated successfully, but these errors were encountered:
Currently generated code makes heavy use of in-line method calls and error checks. There's a lot of repetition.
Here, a lot of stuff is repetitive, and will probably inflate the dylib size.
Probably this can be reduced to
theoretically, the best compression one can achieve is storing the identifying tuple of a method to a table, so nothing is duplicated. But realistically, I think there's some low hanging fruit here.
The text was updated successfully, but these errors were encountered: