generic icon indicating copy to clipboard operation
generic copied to clipboard

A collection of generic data structures written in Go.

Results 6 generic issues
Sort by recently updated
recently updated
newest added

Attempting to run ``` go get github.com/zyedidia/generic/prope ``` Results in the following error: ``` go: module github.com/zyedidia/generic@upgrade found (v1.2.1), but does not contain package github.com/zyedidia/generic/prope ``` I can retrieve the...

One should use heap.FromSlice to specifify the backing slice. Otherwise this will modify the expanded slice.

* Changed the inner representation of entries in HashMap * Added the Keys() and Values() methods to both HashMap and HashSet data structures * Did benchmarks on the results and...

I think this will be a very handful feature and such a method is really common and is provided by other languages such as Java or Python for example. Let...

There exists different algorithm to handle collisions for the linear probing strategy. One interesting an practicable way is the Robin Hood hashing. good illustration: https://programming.guide/robin-hood-hashing.html c++ implementation: https://github.com/Tessil/robin-map/blob/master/include/tsl/robin_hash.h I created...

Is there a plan to support `iterator` and common functional operations such as `map` `reduce` `filter` `scan` `fold`...