Direct comparison of anti-diffracting optical pin beams and abruptly autofocusing beams