+ 1

Which is faster call by value or call by reference ?

15th Jun 2017, 12:49 PM
Master Gaurav
2 ответов
+ 2
Call by reference in some, both equally fast to execute in others... It all depends on the code inside... In new compilers though, this difference is in the matter of milliseconds...
15th Jun 2017, 2:24 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 2
For small amounts of data value is faster. For structs and classes that arent small, reference is faster
15th Jun 2017, 3:03 PM
aklex
aklex - avatar