Original Post
If i have very large structure and i pass it into a function as a parameter, does the compiler optimize this or does it pass all struct members on the stack? It is better to use pointers or references in terms of speed right? I was looking at some source code and i was wondering if it yust wasnt optimized or is this some "advanced stuff". Tnx.