If you want to calculate things quickly then you should code the data in machine-readable form.