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
We have several functions that returning separate values inside an intermediate object.
These functions might be called very frequently internally.
These code flows needs to be refactored to no depend of that.
Ideas for how:
Maybe one of the values is not in use
Maybe one of the values can be deduced from the other one (ptr can be from ptrToPtr)
When arrays are involved: maybe pass array from the caller and not return new one
We have several functions that returning separate values inside an intermediate object.
These functions might be called very frequently internally.
These code flows needs to be refactored to no depend of that.
Ideas for how:
Example:
objectbuffer/src/internal/arrayHelpers.ts
Lines 35 to 39 in ab8ba96
objectbuffer/src/internal/hashmap/hashmap.ts
Lines 422 to 427 in da30950
Search for
// @todo avoid intermediate object
in the codeThe text was updated successfully, but these errors were encountered: