On Monday, 25 December 2017 at 14:12:32 UTC, Marc wrote: > Does to!(string)(char[]) do any memory allocation on conversion > or is this similar to a cast or what else? It is translated to idup. So yes, it allocates memory.