MathematicalMedicine / diver-issues

Semipublic tracking of issues for the DIVER front end
0 stars 0 forks source link

Consider reworking cohorts as "create table on preview, commit on save" the same way downloads currently are #249

Open Viqsi opened 3 months ago

Viqsi commented 3 months ago

This is a possible optimization of cohort management that would be closely related to #229 (basically, more attempts at getting away from cohortInds getting superhuge and slow). Previews of downloads presently involve creating the download (which creates a table of structure not wholly dissimilar to that of a cohort) and then partially retrieving it; actually downloading involves getting all the contents of that table and marking it in diverDownloadTables as having been actually used.

Something similar could also be done for cohort creation as a possible optimization - in particular, it'd let us:

Possible concerns:

Still, something to noodle.