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
Querying the list of properties and fields on an object on HXCPP platforms is very expensive, and it could be a moderate performance benefit to cache this information when able.
Create a map and store the result of Reflect.fields() on scripted classes.
Check whether a field is a property and use setField over setProperty where appropriate.
Check timings to gauge performance improvements.
Check whether reflection caching is slower than not using it on JS.
The text was updated successfully, but these errors were encountered:
Querying the list of properties and fields on an object on HXCPP platforms is very expensive, and it could be a moderate performance benefit to cache this information when able.
Reflect.fields()
on scripted classes.setField
oversetProperty
where appropriate.The text was updated successfully, but these errors were encountered: