This is merely out of interest and I personally use C++Builder 2009
Suppose I allocate: wchar_t Buffer[32]
or I allocate wchar_t Buffer[512]
The second call allocates more memory, so you could argue that the second call is more expensive in terms of memory usage.
However, is anything else also possibly affected by allocating more memory this way ? Are there more instructions involved ? More CPU usage ?
Just wondering ?