i want deleting 200 of records or more from a data store
please i want deleting 200 of rows or more, the problem is that i am using for loop then giving the record to the remove(record) function so it is too slow.

var records = sm2.getSelections();
for (var i=0; i<records.length; i++) {

remove function is using search to the given record then deleting itl
so i think there is 200*200 checks for the record to delete itl
if we used insert to 200 of records it is quickly processed.
is there a faster way to delete the records.
thank u.