added time-based indexes, there are still some rough edges
added time-based indexes, there are still some rough edges
cleaned up revsDiff code