Which one is faster:
Either this
try { n.foo(); } catch(NullPointerException ex) { }
or
if (n != null) n.foo();
If n.foo() happens to throw internally a NPE, you are off for a long debugging session (or worse, your app fails in production..). Just don't do it.
n.foo()
How many nano-seconds do you plan to save, anyways?