dist/lodash.js
function createCache(array) {
    var index = -1,
        length = array.length;

    var cache = getObject();
    cache['false'] = cache['null'] = cache['true'] = cache['undefined'] = false;

    var result = getObject();
    result.array = array;
    result.cache = cache;
    result.push = cachePush;

    while (++index < length) {
      result.push(array[index]);
    }
    return cache.object === false
      ? (releaseObject(result), null)
      : result;
  }
function createCache(array) {
    var index = -1,
        length = array.length;

    var cache = getObject();
    cache['false'] = cache['null'] = cache['true'] = cache['undefined'] = false;

    var result = getObject();
    result.array = array;
    result.cache = cache;
    result.push = cachePush;

    while (++index < length) {
      result.push(array[index]);
    }
    return cache.object === false
      ? (releaseObject(result), null)
      : result;
  }
function createCache ( array ) { var index = - 1 , length = array . length ; var cache = getObject ( ) ; cache [ 'false' ] = cache [ 'null' ] = cache [ 'true' ] = cache [ 'undefined' ] = false ; var result = getObject ( ) ; result . array = array ; result . cache = cache ; result . push = cachePush ; while ( ++ index < length ) { result . push ( array [ index ] ) ; } return cache . object === false ? ( releaseObject ( result ) , null ) : result ; }
Creates a cache object to optimize linear searches of large arrays.

@private
@param {Array} [array=[]] The array to search.
@returns {Null|Object} Returns the cache object or `null` if caching should not be used.
Creates a cache object to optimize linear searches of large arrays .