Closed dima74 closed 1 month ago
Meta: #5083 Fixes #5092
Use Box<[InstructionBox]> instead of Vec to ensure we don't waste any memory on a buffer. See https://github.com/hyperledger/iroha/issues/5083#issuecomment-2363844455, https://github.com/hyperledger/iroha/issues/5083#issuecomment-2364089885, and https://github.com/hyperledger/iroha/issues/5083#issuecomment-2364144603 for details
Box<[InstructionBox]>
Vec
CONTRIBUTING.md
Context
Meta: #5083 Fixes #5092
Solution
Use
Box<[InstructionBox]>
instead ofVec
to ensure we don't waste any memory on a buffer. See https://github.com/hyperledger/iroha/issues/5083#issuecomment-2363844455, https://github.com/hyperledger/iroha/issues/5083#issuecomment-2364089885, and https://github.com/hyperledger/iroha/issues/5083#issuecomment-2364144603 for detailsChecklist
CONTRIBUTING.md
.