AMCeScience / neuroscience-gateway

NeuroScience Gateway
0 stars 1 forks source link

Optimise check to determine intersection of application shared by selected DataElements #11

Open jalmar opened 9 years ago

jalmar commented 9 years ago

Each time a user add a DataElement to the selection, the intersection of applications shared by all selected DataElements is computed. This means in total [ N * ( N + 1 ) ] / 2 calls to the database are performed if the user wants to select N DataElements as input since the user has to add the items one by one.