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
Nico Hezel edited this page Aug 16, 2017
·
3 revisions
The javadoc of each API method provides a section where the estimated costs of the call is depicted and a reference to a faster option if exists is mentioned (e.g. use recordId() for blueprints instead of Records.id())
The costs are described by the amount and type of expensive java expressions, which will be executed in the worst case scenario once the method gets called.
legend
C = casting
B = branching
A = array read
P = polymorphism (megamorpic call sites)
M = hash map read
N = new object
e.g. 0C 1B 1A 0P 1M 0N
The order is sorted from cheapest to the most expensive cost.