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

Optimize accumulations #96

Merged
merged 2 commits into from
Oct 17, 2021
Merged

Optimize accumulations #96

merged 2 commits into from
Oct 17, 2021

Conversation

okamsn
Copy link
Owner

@okamsn okamsn commented Oct 16, 2021

  • Optimize adjoin, append, concat, nconc, nunion, union, vconcat.
  • Normalize symbol names. Support :result-type.
  • Add loopy--update-accum-place-count and loopy--get-optimized-accum.
  • Simplify positions.
  • Correct passing command to result check.
  • More precisely handle accumulation category checks.
  • Explicitly don't produce code when result-type is a list.
  • Fix byte compiler warnings.
  • For now, include aliases in accum constructors.
  • Don't use macro expansion, just do naive replacement.
  • Update changelog.
  • Support the optimizations in loopy-iter.
  • Update some Iter tests.
  • Expand values in optimized accumulations except for :cmd.

- Optimize `adjoin`, `append`, `collect`, `concat`, `nconc`, `nunion`, `union`,
  `vconcat`.
- Normalize symbol names.  Support `:result-type`.
- Add `loopy--update-accum-place-count` and `loopy--get-optimized-accum`.
- Simplify positions.
- Correct passing command to result check.
- More precisely handle accumulation category checks.
- Explicitly don't produce code when `result-type` is a list.
- Fix byte compiler warnings.
- For now, include aliases in accum constructors.
- Don't use macro expansion, just do naive replacement.
- Update changelog.
- Support the optimizations in `loopy-iter`.
- Update some Iter tests.
- Expand values in optimized accumulations accept for `:cmd`.
- Add special macro argument `accum-opt` for optimizing named variables.
- Update the documentation.
- Update changelog.
@okamsn okamsn merged commit 5c6f204 into master Oct 17, 2021
@okamsn okamsn deleted the accum-opt branch March 30, 2022 03:01
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