It should not be beyond the wit of man to ensure that security standards are met AND passengers are processed speedily. It just needs a more enlightened approach to the CAA's targets, such that HAL sees that it's in its own interest to ensure adequate staffing, rostering and process design.
Other airports manage to do it - it isn't rocket science.