Spectroscopy with asymmetric resolution functions: Resolution improvement by an on-line algorithm