Skip to content

Solution 080 too complex#7

Open
abego wants to merge 3 commits into
iCarambaa:masterfrom
abego:solution-080-TooComplex
Open

Solution 080 too complex#7
abego wants to merge 3 commits into
iCarambaa:masterfrom
abego:solution-080-TooComplex

Conversation

@abego
Copy link
Copy Markdown

@abego abego commented May 25, 2018

An improved "Reduce-Factors" solution "too complex" for Swift 4.1 (80 bytes)

Swift 4.1 will not compile this code but report the error:

 "Expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions"

Maybe a later version of the Swift compiler can handle this...

abego added 3 commits May 25, 2018 13:21
To help a reader understand the "short" code version a developer
may add the "long" version, with comments, longer variable names etc.
to "isHeatWaveIncludedIn_readable" in "HeatWaves-readable.swift"
… bytes)

Swift 4.1 will not compile this code but report the error:

     "Expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions"

Maybe a later version of the Swift compiler can handle this...
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