Consuming less cpu by handling the default value attribute otherwise