Efficiency in the calculation of absorption corrections for cylinders