Comparing main...963-cache-fields · msgspec/msgspec · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: msgspec/msgspec
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: msgspec/msgspec
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 963-cache-fields
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 10 commits
  • 2 files changed
  • 4 contributors

Commits on Apr 9, 2026

  1. Cache structs.fields() result for non-generic structs

    Store the computed tuple of FieldInfo on the class as
    __struct_field_info__ to avoid expensive get_class_annotations()
    and FieldInfo recreation on every call. Generic aliases are not
    cached since type parameters affect annotations.
    
    Closes #963
    aleksandr.tseluyko
    aleksandr.tseluyko committed Apr 9, 2026
    Configuration menu
    Copy the full SHA
    f84eac5 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2026

  1. Add test for fields() caching on frozen structs

    aleksandr.tseluyko
    aleksandr.tseluyko committed Apr 10, 2026
    Configuration menu
    Copy the full SHA
    cae504f View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2026

  1. Merge branch 'main' into 963-cache-fields

    aleksandr.tseluyko
    aleksandr.tseluyko committed Apr 11, 2026
    Configuration menu
    Copy the full SHA
    db5c990 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2026

  1. Configuration menu
    Copy the full SHA
    d6919fe View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2026

  1. Configuration menu
    Copy the full SHA
    7112832 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f4f9f5 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2026

  1. Configuration menu
    Copy the full SHA
    8899048 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    74241ae View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2026

  1. Merge main

    Siyet committed Jul 3, 2026
    Configuration menu
    Copy the full SHA
    76b04cf View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2026

  1. Configuration menu
    Copy the full SHA
    c86ba9e View commit details
    Browse the repository at this point in the history
Loading