Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Idea: Emerge Sync
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
syscrash
Guru
Guru


Joined: 14 Apr 2003
Posts: 541

PostPosted: Sun May 04, 2003 6:56 pm    Post subject: Idea: Emerge Sync Reply with quote

I really hate how long it takes to do an emerge sync, and I had a thought. Why don't they implement a plain text file that has the listing of packages, so it will download that file and replace your old one every time you run emerge sync? Just an idea, but I think it would speed up the sync process considerably.
Back to top
View user's profile Send private message
modal
Apprentice
Apprentice


Joined: 02 Oct 2002
Posts: 277

PostPosted: Mon May 05, 2003 1:18 am    Post subject: Reply with quote

from my undrstanding of rsync, rsync is so great because it ONLY d/l the files that need updating, not any others.
Back to top
View user's profile Send private message
b0d0r
n00b
n00b


Joined: 04 Jan 2003
Posts: 30

PostPosted: Wed May 07, 2003 2:52 pm    Post subject: Re: Idea: Emerge Sync Reply with quote

syscrash2k wrote:
I really hate how long it takes to do an emerge sync, and I had a thought. Why don't they implement a plain text file that has the listing of packages, so it will download that file and replace your old one every time you run emerge sync? Just an idea, but I think it would speed up the sync process considerably.


Personally i'd be inclined to disagree...

If you were to search through a text file for an app it would take ages, iin comparisont to the searching speeds of a tree.

Take this example, if we have a file of say 10000 packages. And we need to find a package that is say three quarters of hte wway through. You would need to check 7500 packages before it came to the one you were looking for.

If we take a tree, constructed of the packages available then if the tree were a binary tree as a simple example, we can discard almost half of the packages during the search making it much faster to find the package that needs to be updated.

I can only assume this is how portage works at the moment.

I think that the current portage system is as fast as it can be at the moment.
Back to top
View user's profile Send private message
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Wed May 07, 2003 4:04 pm    Post subject: Reply with quote

a better solution would be downloading a plain text file with package info as in --search that gets parsed into a database.
_________________
Markus Nigbur
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum