Skip to content

[refactor] optimize type speed - #7

Merged
danpacho merged 7 commits into
mainfrom
refactor/optimize-type-speed
Nov 26, 2025
Merged

[refactor] optimize type speed#7
danpacho merged 7 commits into
mainfrom
refactor/optimize-type-speed

Conversation

@danpacho

Copy link
Copy Markdown
Contributor

1. Description

  1. Remove router structure analysis extend check overhead.
  2. Remove zod inference overhead(e.g., z.infer).

Close#5

2. Changes

  1. Router type inference module now removes extend check.
  2. schemaGenerator, now creates static type for performance.

3. Breaking change (y/n):

n

4. Additional Information(context, links, etc.)

5. Type of Change

  • Bug Fix
  • Refactor
  • Enhancement
  • Documentation
  • Breaking API Changes
  • Other (please describe)

6. Checklist

  • I have verified this change is not present in other open pull requests
  • Existing issues have been referenced (where applicable)
  • Functionality is documented
  • All code style checks pass
  • All new and existing tests pass

@danpachodanpacho self-assigned this Nov 26, 2025
@danpachodanpacho added the enhancement New feature or request label Nov 26, 2025
@vercel

vercelBot commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentPreviewCommentsUpdated (UTC)
freestyle-fetchReadyReadyPreviewCommentNov 26, 2025 1:00pm

@danpacho
danpacho merged commit 930d96c into mainNov 26, 2025
4 checks passed
@danpacho
danpacho deleted the refactor/optimize-type-speed branch November 26, 2025 13:00
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature-request] Improve type-inference-performance.

1 participant

@danpacho