I ended up rewriting bulk rail loader from scratch, and my version is very very fast (probably too fast, honestly). If you're still interested in a faster loader, you can check it out here: https://mods.factorio.com/mod/train-loader
Keeper317 is a much braver programmer than I am for trying to update the original instead of rewriting everything. I looked at the original codebase and it was overwhelming