activitysim icon indicating copy to clipboard operation
activitysim copied to clipboard

Numba expression auditing tool

Open joecastiglione opened this issue 2 years ago • 0 comments
trafficstars

The sharrow package introduced in ActivitySim 1.2 allows Python expressions to be compiled using numba prior to running the full simulation. Because the time needed to compile expressions is relatively short and the runtime savings from compilation are large, the net impact is significant runtime savings. It is, however, not always obvious as to which Python expressions can be compiled using numba and which ones cannot. In version 1.5, ActivitySim will include an auditing tool that will identify expressions used in an ActivitySim modeling system that cannot be compiled with numba. Users can then modify the expressions to get the full benefits of sharrow.

joecastiglione avatar Sep 16 '23 01:09 joecastiglione