Is it possible to delete the first element of an array without shifting all elements later?
My guess is that I can remember the index of the 'current first element', like so:
uint[] public myArray;
uint firstElement;
myArray.push(3);
myArray.push(6);
myArray.push(10);
delete myArray[firstElement];
firstElement++;
but, is there a convention or something built in for this?