in reply to faster with threads?

I don't see why the added complexity of threads is worth it for this case.
Why does the speed matter?

You're better off keeping your code simple and leveraging OS scheduling, pipes and the databases bulk load utils.