Skip to content

perf improvements on string type & windows api#321

Merged
ZhidongPeng merged 3 commits into
Azure:devfrom
ZhidongPeng:process
Feb 17, 2026
Merged

perf improvements on string type & windows api#321
ZhidongPeng merged 3 commits into
Azure:devfrom
ZhidongPeng:process

Conversation

@ZhidongPeng

Copy link
Copy Markdown
Collaborator
  • misc: use string.clone() over string.to_string() to avoid extra trait dispatch + formatting overhead
  • misc: avoid format! when only simple concatenation of 2 or less strings, use string.push_str to have direct memcpy
  • removed extra windows api call to query process basic info.

@ZhidongPeng ZhidongPeng enabled auto-merge (squash) February 17, 2026 18:03
@ZhidongPeng ZhidongPeng merged commit 51ba167 into Azure:dev Feb 17, 2026
12 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.

2 participants