-
Morten Welinder authored
2002-03-29 Morten Welinder <terra@diku.dk> * src/gutils.c (gnm_mem_chunk_new, gnm_mem_chunk_destroy, gnm_mem_chunk_alloc, gnm_mem_chunk_free): Keep per-block freelists. (gnm_mem_chunk_free): g_free chunks that are completely empty. * src/value.c (value_get_as_float): Improve precision. (value_get_as_int): Take sign into account when (fake-)truncating floating point numbers. (value_new_error, value_new_error_str, value_new_string, value_new_string_str, value_release): Use chunk allocator for strings and errors. (value_init): Initialise error and string pools. (value_shutdown): Free error and string pools.
c71014c6
To find the state of this project's repository at the time of any of these versions, check out the tags.