[EDIT: Wow do I feel stupid for necro-ing this thread...]
I think it is already there,
DTHP thread check period?
The only things I can think that would speed up mining:
- If Asteroids to Mine is greater than the number of mining lasers, lock extra asteroids while others are being mined. (Complicates target tracking and movement logic.)
- Lock multiple targets in a row (concurrently locking) instead of - StartLock1, WaitForFullLock1, SelectLock1, ActivateModule.
- Pre-select next (locked) asteroid to mine before roids pop. (Which would be lost if combat module initiated.)
- Setting to make mining higher priority than combat.
- Use Mining Drones. (Ensuring Mining Drones are used on closest roid would complicate targeting and combat logic.)
In my opinion though, the developer(s) need to keep the code as modular and small as possible (within reason) so that it doesn't take twice as long debug/fix things after CCP does an update. You have access to the
Algorithm Editor for a reason.