xiaoyaofawai commented on issue #3240: URL: https://github.com/apache/rocketmq/issues/3240#issuecomment-895710016
ConsumeQueue support read data by message index, as you see:  ConsumeQueue read data relay on MappedFileQueue, data offset can be calculated by 'startIndex' . the index of MappedFile in MappedFileQueue and the offset of data in MappedFile can be calculated by data offset.The time complexity of these processes is O(1), so the time complexity of reading data by startIndex from ConsumeQueue is O(1) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
