[go-nuts] Re: [ANN] sorty

2023-02-10 Thread jfcg...@gmail.com
Hi, sorty v2.1.0 has been released. The changes are: - Use any instead of interface{}. This pushes go version in go.mod to 1.18. - Add matrix strategy and workflow dependencies to github workflows. They now run on ubuntu/windows/macos with go

[go-nuts] Re: [ANN] sorty

2021-10-24 Thread jfcg...@gmail.com
Hi, sorty v2.0 has been released with greatly simplified API. It is now possible to sort same underlying native slices (like []int, []MyInt or IntSlice) without a cast. Best.. On Tuesday, October 5, 2021 at 12:52:04 AM UTC+3 jfcg...@gmail.com

[go-nuts] Re: [ANN] sorty

2021-10-04 Thread jfcg...@gmail.com
Hi all, I've released sorty v1.2. Now it natively sorts [][]byte, []float32, []float64, []int, []int32, []int64, []uintptr, []string, []uint, []uint32, []uint64. Also it natively sorts []string and [][]T (for any type T) by length. Cheers.. On Saturday, May 9,

[go-nuts] Re: [ANN] sorty

2020-05-09 Thread Serhat Şevki Dinçer
Hello, sorty v1.0 was released with: - Concurrent dual partitioning (for initial long ranges) - Median-of-5 / 9 pivotting with scheduling - Sub-range assistive pivotting - Simplified api (no interfaces) - Other small improvements Let me know what you think,

[go-nuts] Re: [ANN] sorty

2020-01-03 Thread Serhat Şevki Dinçer
Hi, sorty v0.4.0 is released with: // Sort3 concurrently sorts underlying collection of length n via // lesswap() which must be equivalent to: // if less(i, k) { // if r != s { // swap(r, s) // } // return true // } // return false func Sort3(n int, lesswap func(i, k,