https://play.golang.org/p/EZEXmBig1y-

On Saturday, June 13, 2020 at 9:37:35 AM UTC-6, Jake Montgomery wrote:
>
>
>
> On Saturday, June 13, 2020 at 10:55:43 AM UTC-4, Jan Mercl wrote:
>>
>> On Sat, Jun 13, 2020 at 4:42 PM Tom Limoncelli <t...@whatexit.org> 
>> wrote: 
>>
>> I'd suggest to just write the short 'end' function by yourself if you 
>> think it's useful for you. It does not harm performance as it will get 
>> inlined AFAICT. 
>>
>> You cant really write a short 'end()' function. You have to write an end 
> function for every type of slice. Or use reflection, which would make the 
> function slow, and not inlined. Generics anyone?
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/e5d631b5-d97c-45e5-965b-0de8be5e5ae1o%40googlegroups.com.

Reply via email to