[3699] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[barnowl/barnowl] 7dcef0: Use the Glib slice allocator for

daemon@ATHENA.MIT.EDU (GitHub)
Mon Jan 6 04:28:23 2014

Date: Mon, 06 Jan 2014 01:28:11 -0800
From: GitHub <noreply@github.com>
Reply-To: GitHub <noreply@github.com>
To: barnowl-dev@mit.edu

----==_mimepart_52ca772b1aa09_43e89a1d486939e
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.com/barnowl/barnowl
  Commit: 7dcef0312dbb22b5bb46c6e0e72c5508ed26c284
      https://github.com/barnowl/barnowl/commit/7dcef0312dbb22b5bb46c6e0e72c5508ed26c284
  Author: Anders Kaseorg <andersk@mit.edu>
  Date:   2013-12-25 (Wed, 25 Dec 2013)

  Changed paths:
    M aim.c
    M buddy.c
    M buddylist.c
    M cmd.c
    M context.c
    M editwin.c
    M filter.c
    M filterelement.c
    M functions.c
    M global.c
    M keybinding.c
    M keymap.c
    M logging.c
    M mainwin.c
    M message.c
    M messagelist.c
    M perlconfig.c
    M perlglue.xs
    M popexec.c
    M popwin.c
    M runtests.sh
    M select.c
    M style.c
    M variable.c
    M viewwin.c
    M zephyr.c
    M zwrite.c

  Log Message:
  -----------
  Use the Glib slice allocator for fixed-size objects

The slice allocator, available since GLib 2.10, is more
space-efficient than [g_]malloc.  Since BarnOwl is obviously at the
leading edge of space-efficient technology, this seems like a natural
fit.  Use it for every fixed-size object except
owl_viewwin_search_data (which would need an extra destroy_cbdata
function to g_slice_free it).

Signed-off-by: Anders Kaseorg <andersk@mit.edu>



----==_mimepart_52ca772b1aa09_43e89a1d486939e--

home help back first fref pref prev next nref lref last post