LREM
Remove elements equal to the given value from a list.
LREM key count element
Complexity
O(N*R) worst case — the scan is O(N) but each removal shifts up to half the deque (Redis is O(N+R))
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
BLPOPBRPOPBRPOPLPUSHLINDEXLLENLMOVELPOPLPOSLPUSHLRANGELSETLTRIMRPOPRPOPLPUSHRPUSH