Now that we have a way to reverse-lookup for cancel orders, we are not linear in the number of active orders.
This is the brains of the operation, the matching engine.