On my PC it takes more than 21 minutes to draw a square root of a number with 1 million digits. It should be possible to achieve faster times, but "almost instantly" is probably not feasible without making use of special hardware (like graphics boards with CUDA support).
Hope that this was helpful :)