[Users] [PATCH] Optimize remove_numbered_files_not_in_list() complexity from O(n^2) to O(n)

Colin Leroy colin at colino.net
Wed Oct 10 10:29:19 CEST 2012


On 10 October 2012 at 09h51, Igor Mammedov wrote:
Hi,

> Opps,
>  Nope you are very much awake, it was me who had been asleep.
> it should be:
> 
>    if (!g_hash_table_lookup(file_no_tbl, numberlist->data)) {

Well, patch is in CVS :)

-- 
Colin



More information about the Users mailing list