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

Rethink Diff Database Storage #26

Open
tomrittervg opened this issue Jul 31, 2012 · 0 comments
Open

Rethink Diff Database Storage #26

tomrittervg opened this issue Jul 31, 2012 · 0 comments

Comments

@tomrittervg
Copy link
Member

We store the changed texts of diffs, for commit.getChangedTexts. I did this because those objects are used for the fulltext search, and thus should be fast.

But the database does not store the diff objects from commit.getDiffsArray. Those diff objects are only used for the internal diff display (which isn't very good anyway) - but when you hit one of those internal diff displays, it does take a lot of disk i/o.

Maybe I could store an intermediate representation that could be used by both of these?

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

No branches or pull requests

1 participant