Re: g_hash_table_new with size parameter
- From: Sven Neumann <sven gimp org>
- To: Кутейников Дмитрий <kuteynikov gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: g_hash_table_new with size parameter
- Date: Sun, 22 Feb 2009 11:53:57 +0100
Hi,
On Sat, 2009-02-21 at 21:42 +0300, Кутейников Дмитрий wrote:
> 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.
Can you show us any profiling / benchmarks that indicate that such an
API would make a noticeable difference in a real-world application?
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]