I’ve scoured the internet on this issue, and have talked to a number of solidity engineers who have worked with Uniswap pairing code. I’ve put some thought into it myself, and presenting what I believe to be an interesting solution that I have not seen talked about; see Medium article titled Uniswap Indexing Problem published in Data Driven Investor; in article you'll find:
- Uniswap Indexing Problem (defined)
- Cover the Naive approach, the Uniswap V3 approach, and finally compare against our Indexing Approach
Any objective feedback, or thoughts are welcome … thx!