Speeding up Privy's internals