I guess it isn't performance-critical, but isn't slice allocation generally recommended when using glib?