LINDEX
Return the element at the given list index.
LINDEX key index
Complexity
O(1) — the list is a VecDeque, so an index is a direct offset (Redis's quicklist is O(N))
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Compatible
Behaves as Redis does.
See also
BLPOPBRPOPBRPOPLPUSHLLENLMOVELPOPLPOSLPUSHLRANGELREMLSETLTRIMRPOPRPOPLPUSHRPUSH