Here is my list:
cacheLine = [0,0,0,[0]]
cache = [ [0,0,0,[0]], [0,0,0,[0]], [0,0,0,[0]], [0,0,0,[0]], ... ]
how can i separate my cache lines into sets of a certain size
like :
#sets of 2
cache = [ [ [0,0,0,[0]], [0,0,0,[0]] ], [ [0,0,0,[0]], [0,0,0,[0]] ], ... ]