Skip to content

Comments

absPath: just take a std::string_view#9759

Merged
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:abs-path-string-view
Jan 15, 2024
Merged

absPath: just take a std::string_view#9759
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:abs-path-string-view

Conversation

@Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Jan 13, 2024

Motivation

  1. Slightly more efficient

  2. Easier to call

Context

(Noticed this while cleaning up path things for Windows.)

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@Ericson2314 Ericson2314 requested a review from edolstra as a code owner January 13, 2024 18:12
@Ericson2314 Ericson2314 force-pushed the abs-path-string-view branch 3 times, most recently from 37242eb to 1cde990 Compare January 13, 2024 18:15
1. Slightly more efficient

2. Easier to call

Co-authored-by: Cole Helbling <[email protected]>
@Ericson2314 Ericson2314 merged commit 8a2da82 into NixOS:master Jan 15, 2024
@Ericson2314 Ericson2314 deleted the abs-path-string-view branch January 15, 2024 15:22
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Jan 15, 2024
I found a way to avoid the `scratch` variable I just introduced in NixOS#9759,
but I am not sure whether this makes this code easier or harder to read
😅.
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Jan 15, 2024
I found a way to avoid the `scratch` variable I just introduced in NixOS#9759,
but I am not sure whether this makes this code easier or harder to read
😅.
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Jan 15, 2024
I found a way to avoid the `scratch` variable I just introduced in NixOS#9759,
but I am not sure whether this makes this code easier or harder to read
😅.
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Jan 15, 2024
I found a way to avoid the `scratch` variable I just introduced in NixOS#9759,
but I am not sure whether this makes this code easier or harder to read
😅.
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Jan 15, 2024
I found a way to avoid the `scratch` variable I just introduced in NixOS#9759,
but I am not sure whether this makes this code easier or harder to read
😅.
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Jan 15, 2024
I found a way to avoid the `scratch` variable I just introduced in NixOS#9759,
but I am not sure whether this makes this code easier or harder to read
😅.
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Jan 15, 2024
I found a way to avoid the `scratch` variable I just introduced in NixOS#9759,
but I am not sure whether this makes this code easier or harder to read
😅.
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Jan 17, 2024
I found a way to avoid the `scratch` variable I just introduced in NixOS#9759,
but I am not sure whether this makes this code easier or harder to read
😅.
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Jan 17, 2024
I found a way to avoid the `scratch` variable I just introduced in NixOS#9759,
but I am not sure whether this makes this code easier or harder to read
😅.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants