Yes, this performance could absolutely be improved, and it’s something the core devs have talked about. But they’re fairly busy right now with distributed etc. so the devs are also open to PRs that reimplement pack and pad in C++ if someone wants to fix it quickly.