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

Get rid of repeated construction of varname lenses #310

Closed

Conversation

phipsgabler
Copy link
Member

@phipsgabler phipsgabler commented Aug 21, 2021

@torfjelde I don't think it changes anything in the benchmarks, but check it out. In any case, I think it makes for clearer implementation and generated code.

src/compiler.jl Outdated Show resolved Hide resolved
src/compiler.jl Outdated Show resolved Hide resolved
Copy link
Member

@torfjelde torfjelde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the idea of this PR is good (I did the same in some other branch at some point), but I've left some comments. Also note the formatting changes 👍

src/compiler.jl Outdated Show resolved Hide resolved
src/compiler.jl Outdated Show resolved Hide resolved
src/compiler.jl Outdated Show resolved Hide resolved
src/compiler.jl Outdated Show resolved Hide resolved
src/compiler.jl Outdated Show resolved Hide resolved
src/compiler.jl Outdated Show resolved Hide resolved
phipsgabler and others added 3 commits August 30, 2021 10:50
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tor Erlend Fjelde <tor.erlend95@gmail.com>
@phipsgabler
Copy link
Member Author

I think it should be alright now @torfjelde.

@bors bors bot deleted the branch tor/allow-non-array-variables September 10, 2021 02:31
@bors bors bot closed this Sep 10, 2021
@yebai yebai deleted the phg/redundant_lenses branch September 10, 2021 09:04
@yebai yebai restored the phg/redundant_lenses branch September 10, 2021 09:05
bors bot pushed a commit that referenced this pull request Sep 14, 2021
We forgot to merge the #310 before merging #295.
bors bot pushed a commit that referenced this pull request Dec 14, 2021
We forgot to merge the #310 before merging #295.
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