2 ms·
> Do you know what it means? yeah, it means no temporary variable.
by 2h 3y ago
> Do you know what it means?
yeah, it means no temporary variable.
- tgv 3y agoNo, it means the original data structure gets modified. In this example, the contents of the array you pass to the sort function will be sorted, without copying to a new array. Some overhead is acceptable, if only because you need loop counters.
- Etherlord87 3y agoWhat I find interesting is that you call someone out on not knowing a term, then you're being called out, then you respond claiming you know the term and explain the term… And at no point did it occur to you to actually duckduckgo it and make sure you're correct.
- 2h 3y agoIf you're creating a new variable with allocated memory, your process is no longer "in place". Sorry I didn't graduate from the school of duckduckgo like you did, instead I studied the language specification.
- Etherlord87 3y agoApparently they taught you there to never verify your knowledge not even if multiple other people point out you're wrong. A strong, religious-like conviction is all you need, it's not like you could possibly be in error. Of course a web search engine cannot lead to valuable information, therefore it is reasonable to ridicule anyone who uses it.