Pretty simple question: i.e. I have a dummy contract like this one:
contract simple {
uint[] dataArray;
function push_one_more() {
dataArray.push(1);
}
}
How does the cost of calling push_one_more function depends of the dataArray size? Is it line, quadratically or maybe even exponential correlation?