Skip to content

Consider dropping GSlice allocator #430

@bgilbert

Description

@bgilbert

Slide format

All

Issue details

glib 2.76 converts the slice allocator implementation to a g_malloc wrapper, which has been under discussion since 2015. Consider switching to g_malloc everywhere to simplify our internals, e.g. eliminating _openslide_slice.

g_malloc is also a malloc wrapper since glib 2.46, but it provides some useful API affordances (e.g. automatic abort on allocation failure) so I'd be inclined to keep using it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew functionality, including additional slide features

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions