Comments (3)
No, there's no binary parsing going on.
Unless you can give examples of where they could help?
from pydantic-core.
Okay, cool, thanks for your answer.
Just thought I'd bring up a couple of related parsing crates in case you find content from either of them useful for reference or use.
Regarding #14 (comment)
The problem I have right now is that parsing JSON inside pydantic-core is currently a lot slower than parsing json with ujson.loads or even json.loads then passing the output to pydantic-core - I'm looking into why that is now.
... apologies, another suggestion now, to https://github.com/simd-lite/simd-json-derive.
It might seem like I'm randomly bringing up things; but the intent is that objectively good open source projects can look at each other for common patterns & co-existence stuff.
Hope this helps.
from pydantic-core.
We don't use derive for JSON at all, we just use serde-json's Value
, so I don't think that will help.
More generally, that comment is out of date, I think the performance is on a par or faster inside pydantic-core. I'll update that PR and eventually there will be docs.
from pydantic-core.
Related Issues (20)
- Segmentation fault - datetime python module HOT 3
- [Heads up] test_invalid_regex fails with Python 3.13.0a3 (re.Error renamed to PatternError) HOT 3
- Consider setting a fixed minimum Rust version HOT 18
- unable to build pydantic-core on openbsd HOT 1
- SPSS 29 Statistics cannot import module HOT 2
- Build failure of pydantic-core 2.14.6 with Rust 1.68.2 and Python 3.11 HOT 2
- No Module pydantic_core._pydantic_core (armv7l, built from source) HOT 4
- Outdated emscripten version, incompatible with PyScript HOT 1
- Worst case validation performance scales with the number of pydantic objects in memory HOT 4
- Unable to build Pydantic-Core 2.16.3 on Alpine 3.19 HOT 3
- Datetime underflow causes validation to fail HOT 1
- Different behavior for `extra_behavior` and `config.extra_fields_behavior`
- Add support for simple ser schema with `any` (`lambda x: x` replacement)
- Strict bug :( with config vs runtime flag
- False-positive `SchemaError` for keyword-only args: Non-default argument follows default argument
- Optimistically close string values in from_json if allow_partial is set to true HOT 3
- 2.18.0: pep517 based build fails HOT 9
- `serialization` logic not regognized in `json` and `python` schemas at lower levels
- Make `validate_json` accept `memoryview`.
- [BUG] Serializing datetime.time loses timezone data when datetime.datetime is reqired for utc offset because of DST
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydantic-core.