Skip to content

Commit b4b44ff

Browse files
committed
chore: add cross reference in employee-scheduling quickstart guide
1 parent a25f6c6 commit b4b44ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/en/docs/getting-started/employee-scheduling.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ This quickstart separates domain models (dataclasses) from API models (Pydantic)
151151
- **API layer** (`domain.py` lines 46-75): Pydantic `BaseModel` classes for REST endpoints
152152
- **Converters** (`converters.py`): Translate between the two layers
153153

154+
*This separation provides better performance during solving—Pydantic's validation overhead becomes expensive when constraints are evaluated millions of times per second. See the [architecture article](/blog/technical/python-constraint-solver-architecture/) for benchmark comparisons. Note that while benchmarks on small problems show comparable iteration counts between Python and Java, the JPype bridge overhead may compound at larger scales.
155+
156+
154157
### The Employee Class
155158

156159
```python

0 commit comments

Comments
 (0)