protected function optimizeLooseMap(array $map)
	{
		foreach ($map as $k => $v)
		{
			if ($k === $v)
			{
				unset($map[$k]);
			}
		}

		return $map;
	}
protected function optimizeLooseMap(array $map)
	{
		foreach ($map as $k => $v)
		{
			if ($k === $v)
			{
				unset($map[$k]);
			}
		}

		return $map;
	}
protected function optimizeLooseMap ( array $ map ) { foreach ( $ map as $ k => $ v ) { if ( $ k === $ v ) { unset ( $ map [ $ k ] ) ; } } return $ map ; }
Optimize a non-strict map by removing values that are identical to their key

@param  array $map Original map
@return array      Optimized map
Optimize a non - strict map by removing values that are identical to their key