Timeline for answer to What are my dimensions? by Brunner
Current License: CC BY-SA 3.0
Post Revisions
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 21, 2017 at 6:35 | history | edited | Brunner | CC BY-SA 3.0 |
Forgot to replace filter with find in the last line.
|
| May 21, 2017 at 6:30 | comment | added | Brunner | @CAD97 It does! Thanks for pointing that out. | |
| May 21, 2017 at 6:29 | history | edited | Brunner | CC BY-SA 3.0 |
Implemented CAD97's suggestion
|
| May 21, 2017 at 6:07 | comment | added | CAD97 |
Replacing 1.0..A [...] 1.0..A [...] 1.0..A with 1.0..A [...] a..A [..] b..A should save you a couple bytes and speed you up a little (if it works; I have very minimal F# experience).
|
|
| May 21, 2017 at 5:38 | history | edited | Brunner | CC BY-SA 3.0 |
Implemented Sean's tip
|
| May 21, 2017 at 5:36 | comment | added | Brunner | @Sean Of course! Thanks for the tip :) | |
| May 20, 2017 at 23:20 | comment | added | Sean |
I don't know F#, but I imagine you could dispense with the System.Math.Sqrt and compare the resulting value to A * A?
|
|
| May 20, 2017 at 21:53 | history | answered | Brunner | CC BY-SA 3.0 |