[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[geclipse-dev] GRIA data managmement
|
Hi guys,
currently "expanding" a GRIA connection is not very performant.
We download a whole bunch of extra info for each data stager each
time we expand a connection: i mean the
"getting information for $FILENAME"
part. At the moment we already have the filenames, and we could already
display the folder contents! (for that we only need the name, ie
the "label")
The info of each stager can be fetched lazyly later if the user opens the
properties view for instance. This should make the gria connections much
more agile. Listing a folder is usually a ~O(1) operation, looping over
files is obviously O(N)... :-(
Or is there anything preventing us from doing it this way?
On the other hand, if i understood the code correctly there is
another "remote" operation per file needed for each
"processing $FILE"
step, in which we get the stager labels. I guess that is unavoidable (the
cost of userfriendliness) with the current GRIA API right?
On the other hand, a feature which would be really useful i think is having
different icons for owned stagers compared to stagers we can see/read but
do not own... this would be a nice improvement for the not-so-rare ;-) use
case of trying to edit shared files.
Opinions?
Cheers, Ariel