> which one consumes more processing power and/or memory?
1. It depends on your compiler, OS and library implementation.
2. The difference is almost certainly tiny compared to everything else...