No worries! ahaha It's ok
On Tue, Dec 4, 2018 at 3:39 PM Robert Engels wrote:
> Sorry, I see it is going from both ends... too early :)
>
> On Dec 4, 2018, at 8:33 AM, Robert Engels wrote:
>
> Shouldn’t this code be index = index+ 2
>
> for index := 0; index < (len/2)+1; index++ {
> outpu
Sorry, I see it is going from both ends... too early :)
> On Dec 4, 2018, at 8:33 AM, Robert Engels wrote:
>
> Shouldn’t this code be index = index+ 2
>
> for index := 0; index < (len/2)+1; index++ {
> output[index], output[len-1-index] = input[len-1-index], input[index]
> }
> And the loop need
Shouldn’t this code be index = index+ 2
for index := 0; index < (len/2)+1; index++ {
output[index], output[len-1-index] = input[len-1-index], input[index]
}
And the loop needs to go to Len - you are only copying half the elements
> On Dec 4, 2018, at 5:27 AM, Iván Corrales Solera
> wrote:
>
I would also state that Koazee is the only one that doesn't force you to
cast data in your filter functions nor sort... because I understand the
argument as an interface
instead of expect a function with arguments as the other 2 libraries do.
On Tuesday, December 4, 2018 at 12:27:14 PM UTC+1, I
Thanks for reply Marko,
Sure! I think the approach of making validation smarter and generating
code for primitive types was the key.
Actually when you ask me for benchmark the first time, the performance was
terrible!
If we have a look at how operation Filter is implemented:
*Filter operat
Thanks, Ivan! These numbers are very helpful! Could you at least give us a
hint why your library is faster than the other two? As far as I can see,
all three libraries in the benchmark use reflection.
On Tue, 4 Dec 2018 at 08:49, Iván Corrales Solera <
ivan.corrales.sol...@gmail.com> wrote:
> Hey
Hey all,
I am working on Koazee, a library to deal with slices in a functional way.
Since I published the very first release I was asked me for publishing a
benchmark comparison with other existing and matured frameworks. that
provide similar functionality.
I hope you find useful this article