[babl] Make the initial list size in all databases 512 long.
- From: Øyvind Kolås <ok src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [babl] Make the initial list size in all databases 512 long.
- Date: Sun, 22 Nov 2009 17:47:20 +0000 (UTC)
commit 3f026e3f4ba70c09db5f67c60ba2fdeeae3d02dd
Author: �yvind Kolås <pippin gimp org>
Date: Sun Nov 22 17:44:52 2009 +0000
Make the initial list size in all databases 512 long.
Like the previous commit.
babl/babl-db.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/babl/babl-db.c b/babl/babl-db.c
index 38b0596..7825cc0 100644
--- a/babl/babl-db.c
+++ b/babl/babl-db.c
@@ -62,7 +62,7 @@ babl_db_init (void)
db->name_hash = babl_hash_table_init (db_hash_by_name, db_find_by_name);
db->id_hash = babl_hash_table_init (db_hash_by_id, db_find_by_id);
- db->babl_list = babl_list_init ();
+ db->babl_list = babl_list_init_with_size (512);
db->mutex = babl_mutex_new ();
return db;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]