Hi all,

Consider the following:

typealias Edge Pair{Int,Int}


src(e::Edge) = e.first
dst(e::Edge) = e.second




Under what circumstances, if any, will calling src(e) or dst(e) incur a 
performance penalty relative to

p = Pair{Int,Int}(...)
p.first, p.second

?

Thanks.

Reply via email to