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

History memory #312

Merged
merged 1 commit into from Mar 25, 2011
Merged

History memory #312

merged 1 commit into from Mar 25, 2011

Conversation

rkern
Copy link
Contributor

@rkern rkern commented Mar 25, 2011

Use a :memory: DB for history during testing.

@fperez fperez merged commit 62118c7 into ipython:master Mar 25, 2011
@fperez
Copy link
Member

fperez commented Mar 25, 2011

Awesome, many thanks! The .core test time went from ~30 secs to 2 secs on my machine, so this really is significant. Great job, as always.

@@ -47,15 +47,22 @@ class HistoryManager(Configurable):
input_hist_raw = List([""])
# A list of directories visited during session
dir_hist = List()
def _dir_hist_default(self):
Copy link
Member

Choose a reason for hiding this comment

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

Does this method get automatically picked up by traits to set the default?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes.

@takluyver
Copy link
Member

This looks fine to me, but I've been too slow with reviewing it, and it's already merged.

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.

None yet

3 participants