My problem is that I have a very large data set that is very expensive (memory/compute) to get, and only the template knows which data it needs to use. Computing the data in go before template processing would waste a whole lot of time/memory that I dont have.
On Tuesday, May 30, 2017 at 5:04:54 AM UTC-5, Nathan Kerr wrote: > > I'm not aware of any templating languages that provide concurrent or > parallel constructions. > > If you need parallel execution of those function calls, I would run the > calls as part of my Go code and then pass the results to the template. > > On Tuesday, May 30, 2017 at 10:44:21 AM UTC+2, mhh...@gmail.com wrote: >> >> obviously not, >> go func t.Exec... >> go func t.Exec... >> >> but >> >> ` >> {{slowcall}} >> {{fastcall}} >> {{slowcall}} >> {{$y := CanNot//}} >> ` >> >> ect >> >> On Tuesday, May 30, 2017 at 10:09:35 AM UTC+2, mhh...@gmail.com wrote: >>> >>> hi, >>> >>> wonder, if anyone, >>> - tried to make an implementation of template that works in // ? >>> - was it successful ? >>> - useful for perf ? >>> >>> thanks >>> >> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.