Hello and welcome.
I would say no, since they have slightly different specifications and connections/ports. The 2010 has a Mini DisplayPort and the 2011 replaces that with two Thunderbolt ports, so the ports will not line up. Other internal components my differ slightly as well.
Depending on which processors are on each logic board, you would only see very modest speed gains if at all for everyday tasks.
Hope that helps.
C