Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Create a single dictionary when creating aCoreConfig instance#11384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sydney-runkle merged 2 commits intomainfromconfig-memory-improvement
Feb 6, 2025

Conversation

sydney-runkle
Copy link
Contributor

@sydney-runklesydney-runkle commentedFeb 4, 2025
edited
Loading

Makes this function 25% faster and uses less memory on the temporary dict allocation.

fruitoiz reacted with thumbs up emojifruitoiz and Olegt0rr reacted with rocket emoji
@github-actionsgithub-actionsbot added the relnotes-fixUsed for bugfixes. labelFeb 4, 2025
@cloudflare-workers-and-pagesCloudflare Workers and Pages
Copy link

cloudflare-workers-and-pagesbot commentedFeb 4, 2025
edited
Loading

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit:7776e5e
Status: ✅  Deploy successful!
Preview URL:https://39e2a76f.pydantic-docs.pages.dev
Branch Preview URL:https://config-memory-improvement.pydantic-docs.pages.dev

View logs

@codspeed-hqCodSpeed HQ
Copy link

codspeed-hqbot commentedFeb 4, 2025
edited
Loading

CodSpeed Performance Report

Merging#11384 willnot alter performance

Comparingconfig-memory-improvement (7776e5e) withmain (929e8f4)

Summary

✅ 45 untouched benchmarks

@github-actionsGitHub Actions
Copy link
Contributor

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  pydantic/_internal
  _config.py
Project Total 

This report was generated bypython-coverage-comment-action

@sydney-runklesydney-runkle added relnotes-performanceUsed for performance improvements. and removed relnotes-fixUsed for bugfixes. labelsFeb 4, 2025
@sydney-runklesydney-runkle marked this pull request as ready for reviewFebruary 5, 2025 18:50
@ViicosViicos changed the titlePotentially a more memory efficient approach to core config constructionCreate a single dictionary when creating aCoreConfig instanceFeb 6, 2025
@sydney-runklesydney-runkle merged commite354fd4 intomainFeb 6, 2025
55 checks passed
@sydney-runklesydney-runkle deleted the config-memory-improvement branchFebruary 6, 2025 17:52
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ViicosViicosViicos approved these changes

Assignees
No one assigned
Labels
relnotes-performanceUsed for performance improvements.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@sydney-runkle@Viicos

[8]ページ先頭

©2009-2025 Movatter.jp