John Colvin:

Any chance of some nice examples of this?

Allocate a buffer somewhere, on the stack or heap, and then instead of using a map()+array() as in that code use map()+copy() plus a test to be sure the space is sufficient.

But in the end I don't know how much well even ldc2 will compile that. You have to take a look at the produced asm with the "-output-s" switch of ldc2.

Bye,
bearophile

Reply via email to