Open mlafroce opened 3 years ago
Evitar copia de strings (y otros objetos si los hay), usando referencias.
Ejemplos:
https://github.com/andres912/Taller_TP2/blob/9e4029ea39e9ac60ab578a02d402ce4f44344052/Grafo.cpp#L10 https://github.com/andres912/Taller_TP2/blob/9e4029ea39e9ac60ab578a02d402ce4f44344052/Grafo.cpp#L21 https://github.com/andres912/Taller_TP2/blob/9e4029ea39e9ac60ab578a02d402ce4f44344052/Grafo.cpp#L27 https://github.com/andres912/Taller_TP2/blob/9e4029ea39e9ac60ab578a02d402ce4f44344052/Grafo.cpp#L35
Evitar copia de strings (y otros objetos si los hay), usando referencias.
Ejemplos:
https://github.com/andres912/Taller_TP2/blob/9e4029ea39e9ac60ab578a02d402ce4f44344052/Grafo.cpp#L10 https://github.com/andres912/Taller_TP2/blob/9e4029ea39e9ac60ab578a02d402ce4f44344052/Grafo.cpp#L21 https://github.com/andres912/Taller_TP2/blob/9e4029ea39e9ac60ab578a02d402ce4f44344052/Grafo.cpp#L27 https://github.com/andres912/Taller_TP2/blob/9e4029ea39e9ac60ab578a02d402ce4f44344052/Grafo.cpp#L35