Code review comment for lp://staging/~maxb/loggerhead/jameinel-page_loading

Revision history for this message
John A Meinel (jameinel) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/10/2011 03:18 PM, Max Bowsher wrote:
> Max Bowsher has proposed merging lp:~maxb/loggerhead/jameinel-page_loading into lp:loggerhead.
>
> Requested reviews:
> Loggerhead-team (loggerhead-team)
>
> For more details, see:
> https://code.launchpad.net/~maxb/loggerhead/jameinel-page_loading/+merge/52855
>
> This is a simple re-push and re-propose of lp:~jameinel/loggerhead/page_loading, to track that this piece of work de-merged in the switching around of trunk exists as an independently re-landable entity.

This one is a little bit more clumsy, and should probably be written to
use tests.

For context, this matters the most once we have history-db, though I
think it is still a performance win without it.

The way the 'changes' page works, it wants to show (say) 20 revisions.
But it also wants to be able to give a link to the next N revisions. To
do so, it needs to know the revision_ids and some other information.

The way the code used to work, was it would generate the entire history,
and then poke at the 20+N revision to find its URL. Note that for emacs,
"entire history" is 100,000 revisions, so reducing the information
needed to 20+N is still a decent win.

I do find the way I implemented it clumsy, but it worked.

I think the biggest win, though, was once you have history-db, since
this is one of the whole-ancestry requests that had to go.

Again, approve/I can work on this a bit. Right now I'm focused on some
of the critical bugs we hit today. But maybe soon.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk144KoACgkQJdeBCYSNAAMe3gCg00Y5vigEx0fLw/tE87xaQ7O/
vmAAoLutuwiovTZI6vn9Qwst43oR+8jQ
=b20y
-----END PGP SIGNATURE-----

« Back to merge proposal