2 ms·
Without compile time introspection, those multiple transformation will always run slowly in go, though. C++ solves that with expression templates, which compil
by VHRanger 9y ago
Without compile time introspection, those multiple transformation will always run slowly in go, though.
C++ solves that with expression templates, which compiles something like ABC from the two step
tmp = AB
Result = tmp*C
To the transformation in one traversal. D is also capable of those types of compile time expression evaluation, and is a nice language, but sadly doesn't have a huge following yet.