From f4d55a29db5208de161fb012e463cb40d99ccdc1 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 19 Feb 2009 06:29:07 +0000 Subject: [PATCH] and back to 10k test, and only insert 8 items from the queue at a time. SVN revision: 39089 --- src/bin/test.c | 2 +- src/lib/elm_genlist.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/test.c b/src/bin/test.c index c751ce7..fd730fd 100644 --- a/src/bin/test.c +++ b/src/bin/test.c @@ -2109,7 +2109,7 @@ my_bt_29(void *data, Evas_Object *obj, void *event_info) itc1.func.state_get = gl_state_get; itc1.func.del = gl_del; - for (i = 0; i < 100000; i++) + for (i = 0; i < 10000; i++) { gli = elm_genlist_item_append(gl, &itc1, (void *)i/* item data */, diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 649df2e..fc666f4 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -927,7 +927,7 @@ _item_idler(void *data) Widget_Data *wd = data; int n; - for (n = 0; (wd->queue) && (n < 32); n++) + for (n = 0; (wd->queue) && (n < 8); n++) { Item *it; -- 2.7.4