Skip to content

perf: 缓存 current_dir (refs #585) - #586

Merged
aiofc-nx merged 1 commit into
mainfrom
perf/585-cache-current-dir
May 26, 2026
Merged

aiofc-nx merged 1 commit into
mainfrom
perf/585-cache-current-dir

Conversation

@aiofc-nx

Copy link
Copy Markdown
Collaborator

closes FDE-GROUP/uncodenow#198

- TuiEngine.cwd: PathBuf — new() 中初始化一次
- 替换 6 处 std::env::current_dir().unwrap_or_default() → &self.cwd
@aiofc-nx
aiofc-nx merged commit 3416fe7 into main May 26, 2026
@aiofc-nx
aiofc-nx deleted the perf/585-cache-current-dir branch May 27, 2026 01:35
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