Comment on Ask HN: Fast data structures for disjoint intervals?parentComments−grovesNLOP2yDo you mean time was used as the key for the hashmap? What was the vector used for in that setup?−wormlord2yVectors contain buy/sell orders and are sorted by price, the keys of the hashmap were different securities. Buy orders and sell orders lived in separate vectors
Comments
Do you mean time was used as the key for the hashmap? What was the vector used for in that setup?
Vectors contain buy/sell orders and are sorted by price, the keys of the hashmap were different securities. Buy orders and sell orders lived in separate vectors