I created a code in GAP and recently adapted it to run in Sage. Since I'm not familiar with coding in Sage, my code is somewhat of a "Frankenstein," with some parts using GAP functions and others using Sage functions. The GAP portion of the code handles linear algebra functions (vector spaces, linear maps, kernels of these maps and basis).
My question is: would the code be more efficient if it were implemented entirely in Sage? Or do Sage and GAP perform this basic computations in the same way, making the choice of language (or functions calling) irrelevant in this case?