g_hash_table_new with size parameter



Can you make function like g_hash_table_new, but with size parameter? It would be great if GLib could allocate certain piece of memory when creating hash table, because I know average elements count which my program will keep in it.


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