WIP: VS10Generator: avoid many string allocations
I was a bit bored and when reviewing !4471 (merged) I noticed that we can probably avoid some of the allocations done in VS10Generator. This is a brute force attempt: it is not even compile checked (I only build for Linux, where this isn't built), I have not done any in-depth checking about coding style violations, and the
startsWith() implementation can probably be shared a lot between files.
This is just a "you get the idea" thing. Please provide feedback what of this should actually be merged and what is junk.