| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-12-29 | all: merge package "lib/ints" and "lib/ints64" into "slices" | Shulhan | |
| Now that Go has type parameter, we can use it to use the same function that accept different types for working with slice of int, int64. | |||
| 2019-09-24 | ints: add function to merge two slices of integers by distance | Shulhan | |
| MergeByDistance merge two slice of integers by their distance between each others. For example, if slice a contains "{1, 5, 9}" and b contains "{4, 11, 15}" and the distance is 3, the output of merged is "{1, 5, 9, 15}". The 4 and 11 are not included because 4 is in range between 1 and (1+3), and 11 is in range between 9 and 9+3. | |||
| 2019-03-02 | numbers: move functions to process slices of int to package "ints" | Shulhan | |
| Just like package "bytes" or "strings", the package "ints" focus on slice of integer. | |||
