Skip to content

Releases: jtomasevic/gonerix

1

04 Sep 23:30
ead8c6c
Compare
Choose a tag to compare

first release

0.2.0

20 Aug 22:39
ebec16b
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release

Add support for LRUCache.

LruCache Least Recently Used (LRU) is a common caching strategy.
It defines the policy to evict elements from the cache to make room for new elements when the cache is full, meaning it discards the least recently used items first.

0.1.3

17 Aug 19:17
3a1d314
Compare
Choose a tag to compare
0.1.3 Pre-release
Pre-release

Refactor priority queue, and improve linked list.

0.1.2

01 Aug 01:20
706b3e0
Compare
Choose a tag to compare
0.1.2 Pre-release
Pre-release

Introduce LinkedList type

0.1.1

28 Jul 03:01
94425e8
Compare
Choose a tag to compare
0.1.1 Pre-release
Pre-release

Make more clear how to use

SortedStructList

in ASC/DESC mode

0.1.0

28 Jul 02:29
3feb8b0
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

Breaking change is how we handle sorted list now. We needed to enable sort direction, so we need to refactor sorted list implementation that was based on slices to be now structs. It's done now for

SimpleSortedList

and

SortedList

Both structs have ToList[T] method which returns elements in 0(1) time it should be used for iteration over collection.

  • More method will be added to this structs in next version to align them with same interface.

0.0.5

25 Jul 00:32
40d61a3
Compare
Choose a tag to compare
0.0.5 Pre-release
Pre-release

Implement AddOrReplace on List struct.
AddOrReplace element in the list under some condition. Applies only to first element found under this condition.

  • Try to find element that satisfied condition in function provided as argument to this function call
  • If found replace with new provided element.

0.0.4

24 Jul 23:01
2e7349a
Compare
Choose a tag to compare
0.0.4 Pre-release
Pre-release
  • Add RemoveAt to SimpleSortedList
  • Utilise RemoveAt function
  • Insert method of List type accept now one or more params

0.0.3

24 Jul 21:28
e3d81ba
Compare
Choose a tag to compare
0.0.3 Pre-release
Pre-release
  • Bug fix for RemoveAt
  • Adding new functions on almost all collection Types.
  • Migrate Stack and Queue to be slice based.

0.0.2

24 Jul 16:35
eff4dc7
Compare
Choose a tag to compare
0.0.2 Pre-release
Pre-release

Minor changes, move Stack and Queue implementation to implemented as extension on slice, not as structs.