Releases: ahrtr/gocontainer
Releases · ahrtr/gocontainer
v0.3.0
v0.2.0
New Features
A new data collection BTree is supported. It was originally copied from github.com/google/btree, but is refactored to adapt to the interface convention in this repository. Some improvements are also applied on top of the original design & implementation, so that it's more user-friendly. Originally, any elements must implement the interface "Item" even they are just built-in data types, i.e, int, string, etc.; after the refactoring and improvements, users do not need to implement the "Item" interface any longer for some golang build-in data types. Please refer to Comparator and the examples to get more detailed info.
Notable Changes
One more parameter is added for the function utils.Compare as the third argument. Please refer to Comparator