The xhb-atom-cache package A cache for X Atoms. Use it to avoid repeated requests for the same atom to the X server. Documentation can be found on hackage.