code: func NewTransactionN(n int) *Transaction {
  	return &Transaction{Deltas: make([]Delta, 0, n), deltas: make(map[Delta]struct{}, n)}
  }
docs: // NewTransactionN initialize a new transaction with a predefined capacity.