Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Performance improvements

Sumit Rawal answered on May 12, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers


Performance improvements

0

Version 4 of the Contracts Language API brings multiple performance improvements:

The blanket run-time type checking has been replaced with targeted custom validation only where necessary.

Multiple essential vault methods have been optimised and the performance improvements confirmed with contract execution benchmarking:

get_balances_timeseries is almost twice as fast as the Contracts Language version 3 equivalent when accessing the latest balance value of a specific coordinate.

The get_posting_instruction and get_client_transactions showed almost three times better performance compared to version 3, when accessing balances for each of the posting instructions or client transactions within the data interval.

The posting related custom types have been refactored and changed, so that they are independent of historical data when evaluating their attributes and balances. These changes enable a significant performance boost for hooks that access posting data or that relate to a postings journey. For example, the performance of the pre_posting_hook execution with no data fetching was almost four times faster compared to version 3. 

Popularity 3/10 Helpfulness 1/10 Language whatever
Source: Grepper
Link to this answer
Share Copy Link
Contributed on May 12 2023
Sumit Rawal
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.