| 29 | //////////////////////////////////////////////////////////////////////////////// |
| 30 | |
| 31 | struct TListItem { |
| 32 | TStringBuf Key; |
| 33 | TStringBuf Value; |
| 34 | |
| 35 | TListItem(const TStringBuf& key, const TStringBuf& value) |
| 36 | : Key(key) |
| 37 | , Value(value) |
| 38 | { |
| 39 | } |
| 40 | |
| 41 | int Compare(const TListItem& other) const { |
| 42 | return Key.compare(other.Key); |
| 43 | } |
| 44 | }; |
| 45 | |
| 46 | using TListType = TSkipList<TListItem>; |
| 47 |
no outgoing calls
no test coverage detected