Map from event type, state key tuple to numeric event ID. Implemented using binary search on a sorted array.
| 1289 | // Map from event type, state key tuple to numeric event ID. |
| 1290 | // Implemented using binary search on a sorted array. |
| 1291 | type stateEntryMap []types.StateEntry |
| 1292 | |
| 1293 | // lookup an entry in the event map. |
| 1294 | func (m stateEntryMap) lookup(stateKey types.StateKeyTuple) (eventNID types.EventNID, ok bool) { |
no outgoing calls
no test coverage detected