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

Remove scalaxy dependency #844

Closed
wants to merge 4 commits into from
Closed

Conversation

szymonm
Copy link
Contributor

@szymonm szymonm commented Aug 5, 2020

Pull Request checklist

  • The commit(s) message(s) follows the contribution guidelines ?
  • Tests for the changes have been added (for bug fixes / features) ?
  • Docs have been added / updated (for bug fixes / features) ?

Current behavior : (link exiting issues here : https://help.github.com/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests)

Scalaxy is not maintained for Scala 2.12 (#457), so I propose to use spire's cfor and cforRange loops. They are also macro based. In benchmarks on my machine they give very similar results, but please run all microbenchmarks on some reliable machine.

Szymon Matejczyk added 4 commits August 4, 2020 21:19
Regexes:
s/for \{ (\w) \<\- ([^\W]*) until ([^\W]*) optimized \} \{\{/cforRange { $2 until $3 } { $1 =>

s/for \{ (\w) \<\- ([^\W]*) to ([^\W]*) optimized \} \{\{/cforRange { $2 to $3 } { $1 =>

s/for \{ (\w) \<\- ([^\W]*) until ([^\W]*\.[^\W]*) optimized \} \{/cforRange { $2 until $3 } { $1 =>

s/for \{ (\w) \<\- ([^\W]*) to ([^\W]*\.[^\W]*) optimized \} \{//cforRange { $2 to $3 } { $1 =>

And manual fixes.
@szymonm szymonm marked this pull request as draft August 11, 2020 20:06
@szymonm
Copy link
Contributor Author

szymonm commented Aug 20, 2020

Superseded by #866

@szymonm szymonm closed this Aug 20, 2020
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