-
Notifications
You must be signed in to change notification settings - Fork 397
Roadmap
Work has just started... One class has logging. One.
This is definitely needed. The plan it to instantiate validators only once, which will mean quite a few changes, but it will be such a speed improvement that it cannot be ignored.
Right now, validation will go as deeply as it can -- for instance it will check all items of an array even if the first one fails validation. Propose a mode which will make the validation fail at the first failing item.
But first, understand that section and its implications...
Javascript is limited, by its specification, to operate on 64bit IEEE 754 numbers. The implementation handles arbitrarily large numbers, but this may be unneeded. Make a validation feature which will allow to use primitive types long and double only.
Right now the whole instance is read in memory before proceeding -- not a smart move if you want to validate really big stuff. Try and stream the process instead... Ouch. This means a redesign.