Nothing wrong with it, and nothing wrong with doing it for min and max
either. (Though it was a delight to see that animated editing sequence, so
for entertainment value that's the way!)

I did code generation for my version of Sort and it is 3x-5x faster. It
takes intel more than 10 years to make a CPU that is 3-5x faster. Takes
just one programmer hour to perfect it with code generation. Nothing wrong
with that equation.

Let them laugh all they want while you build for speed.

Michael

On Fri, Mar 10, 2017 at 4:27 PM, Tyler Compton <[email protected]> wrote:

> If we assume a more useful generic task than writing a min function,
> what's wrong with using code generation?
>
> On Fri, Mar 10, 2017 at 6:14 AM Henry <[email protected]> wrote:
>
>> If you insist on generics-like code generation:
>> https://github.com/cheekybits/genny/blob/master/README.md
>>
>> --
>> 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 [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Michael T. Jones
[email protected]

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to