• Travis Reitter's avatar
    Maximize use of 'unowned' keyword. · 7668bd50
    Travis Reitter authored
    This is used when (and only when) variables:
    1. would avoid a non-trivial copy (eg, a string or array but not an int or
    object ref-count increase)
    2. will only be assigned unowned values (excessive use of 'unowned' here will be
    caught by the compiler)
    The net benefit is avoiding unecessary memory allocation/freeing.
    Helps bgo#629083
tpf-persona.vala 10.8 KB