Skip to content
This repository was archived by the owner on Nov 23, 2018. It is now read-only.

Conversation

vladimir-ch
Copy link
Member

  • Stop invalidating in evaluate()
  • Remove LinesearchMethod.loc and instead gradually build up a valid location from the passed Location. This avoids a lot of unnecessary copying and results in simpler code. It is a horribly crude benchmark, but on my machine go test finishes regularly in 7.8-7.9 s with this change which is roughly 0.5 s faster than before.

@btracey Please take a look

interfaces.go Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"fields of Problem" instead of routine? Not sure.

@btracey
Copy link
Member

btracey commented Sep 24, 2015

I hope you don't mind I took the liberty to take a second pass at a lot of the existing comments. Otherwise, two seemingly small issues. LGTM assuming the issues aren't trickier than I think.

@vladimir-ch
Copy link
Member Author

I hope you don't mind I took the liberty to take a second pass at a lot of the existing comments.

Not at all, quite the opposite. In fact, could you give it another, quick pass? I mostly went with your wording, but I also added the NaNing of f and projGrad given to the Linesearcher.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, we'll leave to another PR for fix.

@btracey
Copy link
Member

btracey commented Sep 24, 2015

LGTM.

@vladimir-ch vladimir-ch merged commit 573e309 into master Sep 24, 2015
@vladimir-ch vladimir-ch deleted the stop-invalidating branch September 24, 2015 07:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants