timedb:do expensive comparison in usort to see if items changed, to save even more expensive write to disk