prod/service-worker-28ddbc7ef7a575da0539a0f05f4bfdae.js
function getBasicInMemoryFields(index, selector, userFields) {

  userFields = sortFieldsByIndex(userFields, index);

  // check if any of the user selectors lose precision
  var needToFilterInMemory = false;
  for (var i = 0, len = userFields.length; i < len; i++) {
    var field = userFields[i];
    if (needToFilterInMemory || !checkFieldInIndex(index, field)) {
      return userFields.slice(i);
    }
    if (i < len - 1 && userOperatorLosesPrecision(selector, field)) {
      needToFilterInMemory = true;
    }
  }
  return [];
}
function getBasicInMemoryFields(index, selector, userFields) {

  userFields = sortFieldsByIndex(userFields, index);

  // check if any of the user selectors lose precision
  var needToFilterInMemory = false;
  for (var i = 0, len = userFields.length; i < len; i++) {
    var field = userFields[i];
    if (needToFilterInMemory || !checkFieldInIndex(index, field)) {
      return userFields.slice(i);
    }
    if (i < len - 1 && userOperatorLosesPrecision(selector, field)) {
      needToFilterInMemory = true;
    }
  }
  return [];
}
function getBasicInMemoryFields ( index , selector , userFields ) { userFields = sortFieldsByIndex ( userFields , index ) ; // check if any of the user selectors lose precision var needToFilterInMemory = false ; for ( var i = 0 , len = userFields . length ; i < len ; i ++ ) { var field = userFields [ i ] ; if ( needToFilterInMemory || ! checkFieldInIndex ( index , field ) ) { return userFields . slice ( i ) ; } if ( i < len - 1 && userOperatorLosesPrecision ( selector , field ) ) { needToFilterInMemory = true ; } } return [ ] ; }
first pass to try to find fields that will need to be sorted in-memory
first pass to try to find fields that will need to be sorted in - memory