On Tuesday, 3 March 2015 at 00:11:36 UTC, Zach the Mystic wrote:
On Tuesday, 3 March 2015 at 00:02:48 UTC, deadalnix wrote:
What do you think? How many times do you normally pass a
global?
I fail too see how t being global vs t being a local that is
doubly passed change anything.
Within the function, the global passed as a parameter creates
an alias to the global. Fortunately, Andrei Fermat may have
just solved the issue:
http://forum.dlang.org/post/[email protected]
This does not solve anything as postblit only increase refcount
so it does not make any sense that it deletes the payload.