… | |
… | |
2942 | =item Priority handling: O(number_of_priorities) |
2942 | =item Priority handling: O(number_of_priorities) |
2943 | |
2943 | |
2944 | Priorities are implemented by allocating some space for each |
2944 | Priorities are implemented by allocating some space for each |
2945 | priority. When doing priority-based operations, libev usually has to |
2945 | priority. When doing priority-based operations, libev usually has to |
2946 | linearly search all the priorities, but starting/stopping and activating |
2946 | linearly search all the priorities, but starting/stopping and activating |
2947 | watchers becomes O(1) w.r.t. prioritiy handling. |
2947 | watchers becomes O(1) w.r.t. priority handling. |
2948 | |
2948 | |
2949 | =item Sending an ev_async: O(1) |
2949 | =item Sending an ev_async: O(1) |
2950 | |
2950 | |
2951 | =item Processing ev_async_send: O(number_of_async_watchers) |
2951 | =item Processing ev_async_send: O(number_of_async_watchers) |
2952 | |
2952 | |