Computes the compute on the value and returns it if the value is present or just computes and returns default one otherwise.