Re:Comparing the Cost of Different Multiple-return Technique...
by Tloewald on Monday December 23, 2013 @10:30AM
(#6954704)
Well, I guess the final point is almost worth it -- code for clarity.
[ Parent
| on HN ]
Re:Comparing the Cost of Different Multiple-return Technique...
by mitchty on Monday December 23, 2013 @10:40AM
(#6954768)
Would've liked to see the exact code to better gauge what clarity involves specifically.
Re:Comparing the Cost of Different Multiple-return Technique...
by silentbicycle on Monday December 23, 2013 @10:45AM
(#6954787)
I'm planning on posting a repo with the benchmarks soon.
Re:Comparing the Cost of Different Multiple-return Technique...
by mitchty on Monday December 23, 2013 @12:00PM
(#6955215)
Cool beans. I saw this this morning and was excited.
I've been dealing with rewrites of a few internal utilities in C (was going to use go, but the runtime has issues) and was going to start testing how struct passing with errors in a struct for example would look in C.
I'll keep an eye out thanks!
Re:Comparing the Cost of Different Multiple-return Technique...
by silentbicycle on Friday December 27, 2013 @10:11AM
(#6970843)
The code is up: https://github.com/atomicobject/multiple_return_in_c_benchma...
Re:Comparing the Cost of Different Multiple-return Technique...
by silentbicycle on Tuesday December 24, 2013 @02:14PM
(#6960692)
Due to an inconveniently timed cold, it may still be another day or two. Soon.