early exit from value when encountering literals and less list allocation
for number parsing