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
If all signature objects in metadata are uniqued we could decrease many calculations which happen per method call (offsets calculation of arguments, construction of ffi_cifs etc). Instead of per method call they will happen per method signature.
The text was updated successfully, but these errors were encountered:
This can greatly simplify the way the runtime deals with type information from the API metadata. For example, it can help compact all the type caches in our TypeFactory. Alright, let's do it.
As unifying ffi signatures in metadata-generator would lead to insufficient ffi metadata in ios-runtime only ffi_cif caching in FFICall initialization is implemented: #795
If all signature objects in metadata are uniqued we could decrease many calculations which happen per method call (offsets calculation of arguments, construction of
ffi_cif
s etc). Instead of per method call they will happen per method signature.The text was updated successfully, but these errors were encountered: