Skip to content

Conversation

@forki
Copy link
Contributor

@forki forki commented Aug 23, 2016

I think we should use the collection APIs where possible.

@forki forki changed the title Cleanup Optimizer WIP Cleanup Optimizer Aug 23, 2016
@forki forki changed the title WIP Cleanup Optimizer WIP Cleanup use of internal functions Aug 23, 2016
@forki forki force-pushed the optimizer branch 2 times, most recently from 8c0764f to fbed002 Compare August 23, 2016 15:22
@forki
Copy link
Contributor Author

forki commented Aug 23, 2016

dk:

 are those just stylistic changes?

forki:

nope. I'm replacing internal functions with the ones from FSharp.Core
these are sometimes better optimized (at least people try to do this) and sometimes get inlined
so this could be beneficial for compiler perf

@tldrlol
Copy link

tldrlol commented Aug 23, 2016

On a shallow examination all changes seem to preserve existing logic.

My only nitpick is not (List.isEmpty ...) repetition everywhere. I would consider letting nonNil live on.

@KevinRansom
Copy link
Contributor

My preference is how Steffen has it now, it is clearer and not really many more characters.

@forki
Copy link
Contributor Author

forki commented Aug 23, 2016

The real advantage is that we got rid of a couple of these manual helper
functions that we have everywhere

Am 23.08.2016 19:40 schrieb "Kevin Ransom (msft)" <[email protected]

:

My preference is how Steffen has it now, it is clearer and not really many
more characters.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1476 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNDImgaLkYSvWIqtaroNiUPNdETWXks5qizCUgaJpZM4Jq5CM
.

@forki forki changed the title WIP Cleanup use of internal functions Cleanup use of internal functions Aug 23, 2016
@forki
Copy link
Contributor Author

forki commented Aug 23, 2016

ok I think it's ready to go in.

@KevinRansom
Copy link
Contributor

Looks good to me.

@KevinRansom KevinRansom merged commit fd657f3 into dotnet:master Aug 23, 2016
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.

4 participants