Re: Performance patch, dir.c:do_reload_dir() on large dirs.



Hi, BjЖrn!

Correct.  I'm fixing it.

You're ever so cryptic pavel...

Sorry, of course I meant that I only fixed the comment.

Anyways, please have a look at the
attached (inline) patch:

It's great!  I really appreciate it!

+     if (list->list[i].f.marked) {
+            g_hash_table_insert(marked_files, dir_copy.list[i].fname, &dir_copy.list[i]);
          marked_cnt++;
+        }

I understand that the above condition is always true, so I'm removing "if"
and applying your patch.  I'm also adding an item to NEWS, since its a
user visible change.

-- 
Regards,
Pavel Roskin




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