The X post by
“Igor_Aptos”, He highlights 3 points.
- Introduces Ordered Maps and Big Ordered Maps as new data structures in Aptos Move, enhancing real-time DeFi by enabling faster data lookups and updates, crucial for high-speed trading applications.
- Ordered Maps provide efficient sorting and updates in a single resource, outperforming the older SimpleMap structure, as shown in a performance table where Ordered Maps handle 10,000 elements in 142 gas units compared to SimpleMap’s 14,835.
- Big Ordered Maps use a B+ tree design for scalability, supporting large datasets with parallel processing, and offer better storage efficiency than SmartTables, with tests showing 277 gas units for 256-byte updates versus SmartTable’s 392.
Catch the reference X post here: