Skip to content
  • Philip Chimento's avatar
    object: Use smaller data structure for closures · 93cf31db
    Philip Chimento authored
    Some time ago, we switched from GList* to std::set to store the list of
    GClosures associated with an object. std::set was the most time-efficient
    container, but we need to optimize for space here. std::forward_list is
    comparable to GSList.
    
    This reduces ObjectInstance to 96 bytes and ObjectPrototype to 192 bytes.
    93cf31db