src/Controller/SortingManager.php
private function determineDelta()
    {
        $delta = (
            ($this->marker->getProperty($this->getSortingProperty()) - $this->position) / $this->results->length()
        );

        // If delta too narrow, we need to make room.
        // Prevent delta to exceed, also. Use minimum delta which is calculated as multiple of 128.
        if (($delta < 2) || ($delta > 128)) {
            return (\ceil($this->results->length() / 128) * 128);
        }

        return $delta;
    }
private function determineDelta()
    {
        $delta = (
            ($this->marker->getProperty($this->getSortingProperty()) - $this->position) / $this->results->length()
        );

        // If delta too narrow, we need to make room.
        // Prevent delta to exceed, also. Use minimum delta which is calculated as multiple of 128.
        if (($delta < 2) || ($delta > 128)) {
            return (\ceil($this->results->length() / 128) * 128);
        }

        return $delta;
    }
private function determineDelta ( ) { $ delta = ( ( $ this -> marker -> getProperty ( $ this -> getSortingProperty ( ) ) - $ this -> position ) / $ this -> results -> length ( ) ) ; // If delta too narrow, we need to make room. // Prevent delta to exceed, also. Use minimum delta which is calculated as multiple of 128. if ( ( $ delta < 2 ) || ( $ delta > 128 ) ) { return ( \ ceil ( $ this -> results -> length ( ) / 128 ) * 128 ) ; } return $ delta ; }
Determine delta value.

Delta value will be between 2 and a multiple 128 which is large enough to contain all models being moved.

@return float|int
Determine delta value .