Tanguy
ba57736921
Release 1.2.2
2022-11-14 10:32:44 +01:00
Tanguy
3ead7db4fe
Add lru.keys iterator ( #6 )
...
* Add lru.keys iterator
* Fix compilation on nim <1.4
* Add keys iterator test
2022-11-14 10:28:01 +01:00
Eric Mastro
717abe4e61
Release 1.2.1
2022-02-21 11:20:21 +11:00
Eric Mastro
fbe2e1531e
Update readme
2022-02-21 11:19:27 +11:00
Eric Mastro
3cd5b3d642
Release 1.2.0
2022-02-21 11:01:12 +11:00
Eric Mastro
9f22aad2f7
update release flow
2022-02-21 11:00:39 +11:00
Eric Mastro
4a0c654afd
feat: add removeLru proc that returns removed LRU item
...
Add exception handling to entire cache.
`del` now returns the value that was deleted, using `Option[T]`. If nothing was deleted, `T.none` is returned.
`removeLru` removes the least recently used item and returns it, or throws an `EmptyLruCacheError` if the cache is empty.
Add tests for `removeLru`.
Modify `del` test for option.
Release 1.2.0
2022-02-18 19:25:45 +11:00
Eric Mastro
a82afc536e
fix: make `len` available to other procs
...
Define the `len` proc before other procs to make the symbol available.
2022-02-09 11:54:32 +11:00
Jack Tang
68768b8829
Release 1.1.3
2020-10-22 22:19:52 +08:00
Jack Tang
aac732f087
backward compatible with rightSize
2020-10-22 22:19:13 +08:00
Jack Tang
04c947d2f1
Release 1.1.2
2020-10-22 01:06:55 +08:00
Jack Tang
38b08295ab
Revert "support initTable with or without rightSize"
...
This reverts commit 0e88c339f2
.
2020-10-22 01:06:07 +08:00
Jack Tang
60a590023b
Release 1.1.1
2020-10-22 00:24:48 +08:00
Jack Tang
0e88c339f2
support initTable with or without rightSize
2020-10-22 00:23:05 +08:00
Jack Tang
15bf040306
use proc instead of func
2020-09-07 19:18:52 +08:00
Jack Tang
d590a3f1e3
update API link
2020-09-07 19:14:52 +08:00
Jack Tang
1df5053b7d
Release 1.1.0
2020-09-07 19:10:22 +08:00
Jack Tang
aa5d627ada
add get Lru Mru key value
2020-09-07 19:08:38 +08:00
demotomohiro
9cfe65c6c7
Add getLruValue func
2020-09-07 12:55:32 +09:00
Jack Tang
5cb13acd04
Release 1.0.4
2020-07-15 10:32:23 +08:00
Jack Tang
7248ef2186
Revert "store hashes of keys instead of keys"
...
This reverts commit b87dce9a78
.
2020-07-15 10:31:23 +08:00
Jack Tang
0960b5943e
Release 1.0.3
2020-07-15 10:09:52 +08:00
Jack Tang
b87dce9a78
store hashes of keys instead of keys
2020-07-15 10:06:48 +08:00
Jack Tang
09f49dbc4e
rename LRUCache to LruCache
2020-05-18 23:50:00 +08:00
Jack Tang
e7c2c67a8e
Release 1.0.2
2020-05-11 18:11:40 +08:00
Jack Tang
f0a204bbc7
add getOption()
2020-05-11 17:58:49 +08:00
Jack Tang
5855c81aac
add css
2020-05-08 00:11:35 +08:00
Jack Tang
0d1cbdbb4c
Release 1.0.1
2020-05-08 00:09:57 +08:00
Jack Tang
ba52c87cd8
fix name of .release-it and hooks
2020-05-08 00:09:22 +08:00
Jack Tang
b0d511c8f7
update readme
2020-04-16 15:36:38 +08:00
Jack Tang
19fca32f57
integrate release-it
2020-04-12 21:26:01 +08:00
Jack Tang
fd7520dc81
update doc
2020-04-12 21:26:01 +08:00
Jack Tang
fa9b99a1c4
update doc
2020-04-12 21:07:17 +08:00
Jack Tang
5da497fbf8
add release-it and update readme
2020-04-12 20:58:49 +08:00
Jack Tang
a9af69f2dd
init
2020-04-12 20:42:30 +08:00