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

perf: remove _replace_ext in lib.bzl #684

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

dzbarsky
Copy link
Collaborator

@dzbarsky dzbarsky commented Sep 7, 2024

We don't need to look up the index of the . multiple times. Also flip the allow_js condition while I'm here, it's probably faster this way.

Changes are visible to end-users: no

Test plan

  • Covered by existing test cases

Copy link

aspect-workflows bot commented Sep 7, 2024

Test

All tests were cache hits

84 tests (100.0%) were fully cached saving 8s.


Buildifier      Format

ts/private/ts_lib.bzl Outdated Show resolved Hide resolved
@jbedard jbedard changed the title Remove _replace_ext in lib.bzl perf: remove _replace_ext in lib.bzl Sep 7, 2024
@jbedard jbedard merged commit f269f46 into aspect-build:main Sep 7, 2024
23 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