Skip to content

perf: Add slots=True to ArgumentSpec dataclass#12

Merged
rustyconover merged 2 commits into
mainfrom
fix/argument-spec-slots
Jan 5, 2026
Merged

perf: Add slots=True to ArgumentSpec dataclass#12
rustyconover merged 2 commits into
mainfrom
fix/argument-spec-slots

Conversation

@rustyconover

Copy link
Copy Markdown
Contributor

Summary

  • Adds slots=True to ArgumentSpec dataclass for reduced memory footprint
  • Improves attribute access speed for ArgumentSpec instances during function introspection

Test plan

  • All existing tests pass
  • Type checks pass

Closes vgi-python-790

🤖 Generated with Claude Code

rustyconover and others added 2 commits January 5, 2026 12:02
Reduces memory footprint and improves attribute access speed for
ArgumentSpec instances during function introspection.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rustyconover rustyconover merged commit 26d918a into main Jan 5, 2026
0 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant