Allow skipping schema validation
Open
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 5.8k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
I'm currently optimizing the startup time of datascript and one more slow part (besided my PR for rschema) is the --in production unnecessary-- schema valdation. Could this be wrapped in a (when ^boolean goog.DEBUG) call and removed if debugging is off? I.e. the app is in production.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Locate the schema-validation entry point and check how goog.DEBUG is exposed in the production and debug builds; done means validation is skipped only when debugging is off while debug behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- databases, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100