Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance on resolving browser fields #143

Open
Boshen opened this issue Apr 23, 2024 · 0 comments
Open

Improve performance on resolving browser fields #143

Boshen opened this issue Apr 23, 2024 · 0 comments

Comments

@Boshen
Copy link
Member

Boshen commented Apr 23, 2024

This hot path is slow

let dir = self.path.parent().unwrap();
for (key, value) in object {
let joined = dir.normalize_with(key);
if joined == path {
return Self::alias_value(path, value);
}
}

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

No branches or pull requests

1 participant