xetorthio/jedis — Issue #254: Is jedis.lindex(key,0) o(1) ?
Author: divyapt
Created: 2012-01-25 08:56:50+00:00
State: open

Hi ,

We are using redis's list data structure to store data . But according to the document getting the first element is o(1) .

But we are observing that the time of fetching first element from the list increases as the list grows. Where as time for fetching last element from the list remains the same irrespective of the list length .

Please comment on this , Since the performance of our application is bad because of this.

Thanks & Regards,
Divya