lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> For the cache, I noticed that last element is moved out if there is the need to insert something new. The loop to move out last element can be merged with the loop to search. If this is done move-to-front can be implemented so that subsequent search can be faster.

Thanks for the code. Have you measured the impact of your proposed change?