Do PHP static variables, which do persist during a normal page request, persist between progressive Batch API runs? What about during non-progressive (command-line) batch execution? Does &drupal_static come into play in any way?
In my application, I want to take advantage of in-memory caching across batch processes.