Skip to content

perf(get): add early return for nullish input value#470

Closed
tongzcomradez wants to merge 1 commit intosodiray:masterfrom
tongzcomradez:perf/add-early-return-for-nullish
Closed

perf(get): add early return for nullish input value#470
tongzcomradez wants to merge 1 commit intosodiray:masterfrom
tongzcomradez:perf/add-early-return-for-nullish

Conversation

@tongzcomradez
Copy link

Description

  • Skip regex split when input is null/undefined
  • Reduces unnecessary computation for nullish inputs
  • Remove redundant final undefined check

@vercel
Copy link

vercel bot commented Dec 14, 2025

@tongzcomradez is attempting to deploy a commit to the rayunishinedev's projects Team on Vercel.

A member of the Team first needs to authorize it.

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