Let's say "a" is a char and "b" a string. Why does it take longer to compute b+a than a+b? Strange, isn't it?
ippeb
0
Newbie Poster
Recommended Answers
Jump to PostI think it has to do with storage in memory and the fact that different types are allocated memory in different ways.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.