On 25 Feb 2013, at 11:33am, Howard Chu <h...@symas.com> wrote:

> Gabriel Corneanu wrote:
>> Following a few other discussions, I had the feeling that sqlite should
>> benefit from a cache which discards cached pages in a least frequently
>> used order.
> 
> Just offhand, classical LRU is quite poor in terms of lock overhead.

Gabriel writes "least frequently used".  Howard writes "least recently used".  
You're not writing about the same thing.

And the speed advantages of any algorithm used must be assessed before anything 
new is implemented.  SQLite is meant to be 'lite' and have almost nothing in.  
Complicated algorithms and use-counting should be added only if they improve 
things a lot.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to