Unfortunately, as you suggest, the complexity of arbitrary precision multiplication kicks in and performance suffers.