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
The CU must generate Cron Messages, according to the Crons present on the ao Process.
The current code for doing so can be found here with an associated test to assert the results correctness
Problem
The CU Cron algorithm currently does a "tick" across every second in an interval, generating time-based and block-based cron. This approach is very inefficient -- an O(n^2) algorithm.
We need to come up with a more efficient algorithm.
Developer Notes
The test asserts the correctness of the cron generated by the function, and the function self-contained. In this regard, you can use TDD to assert the correctness of any new implementation.
The text was updated successfully, but these errors were encountered:
Background
The CU must generate Cron Messages, according to the Crons present on the ao Process.
The current code for doing so can be found here with an associated test to assert the results correctness
Problem
The CU Cron algorithm currently does a "tick" across every second in an interval, generating time-based and block-based cron. This approach is very inefficient -- an O(n^2) algorithm.
We need to come up with a more efficient algorithm.
Developer Notes
The test asserts the correctness of the cron generated by the function, and the function self-contained. In this regard, you can use TDD to assert the correctness of any new implementation.
The text was updated successfully, but these errors were encountered: