Skip to content
  • Christoph Reiter's avatar
    GObject.Value: add a static helper for fetching the GType · 48f80f8b
    Christoph Reiter authored
    The field marshalling code is slow and doesn't do any caching at all
    which in turn makes accessing Value.g_type slow.
    
    Add a static helper function for fetching the GType and use that instead.
    This reduced the time for creating a GValue + setting it by ~30%
    48f80f8b