call getNullValue() less often; makes less garbage