skidooesy / stv

Automatically exported from code.google.com/p/stv
0 stars 0 forks source link

Fork load/save of ballots #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Useful for large ballot files so that the user doesn't think that OpenSTV
is frozen.  Could have some kind of progress bar.

Original issue reported on code.google.com by jeff.oneill on 2 Jul 2009 at 3:03

GoogleCodeExporter commented 8 years ago
Is there a sample file in which loading / saving freezes the app?  On what 
order does
it start breaking down?  How many ballots is a reasonable target?

Original comment by dan.keshet@gmail.com on 12 Jul 2009 at 5:06

GoogleCodeExporter commented 8 years ago
I suggest trying the C files (these are capacity tests) from the STVDB that I
previously sent you a link to.  There are about 20 ballot files that get
progressively bigger and the largest may be close to a million ballots.

I think you start to see a noticeable pause at about 50,000 ballots.

Since we don't know the number of ballots until we have loaded the entire file,
should we always fork ballot loading?  Perhaps we could have the progress bar 
appear
if it takes longer than a second or something like that.

Original comment by jeff.oneill on 12 Jul 2009 at 4:46

GoogleCodeExporter commented 8 years ago

Original comment by jeff.oneill on 3 Oct 2009 at 4:28