All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.21 (2023-02-13)
MIRIFLAGS=-Zmiri-disable-isolation
oncargo miri
- miri supports on tests
- rust-version: "1.56.0" to "1.58.0"
- refactored
Makefile
COPYING
LICENSE-APACHE
,LICENSE-MIT
- clippy:
redundant_field_names
,unnecessary_unwrap
,needless_bool
- clippy:
unnecessary_unwrap
0.1.20 (2023-01-31)
.github/workflows/test-ubuntu.yml
.github/workflows/test-macos.yml
.github/workflows/test-windows.yml
- test status badges into
README.tpl
rust-version = "1.56.0"
intoCargo.toml
- clippy:
seek_from_current
,explicit_counter_loop
- bypass test
test_size_of()
on windows
0.1.19 (2023-01-10)
- badges into
README.tpl
- reformat
CHANGELOG.md
- clippy: this let-binding has unit value
- clippy: this block may be rewritten with the
?
operator - clippy: format_push_string
- clippy: bool_to_int_with_if, needless_borrow
0.1.18 (2022-06-13)
- changes to edition 2021
0.1.17 (2022-02-07)
- many.
0.1.16 (2022-01-18)
myhasher
to features.prepare()
toVarFile
.buf_hash_turbo
to feature. important for performance.
- organize source code.
- change
put()
toput<'a, Q>()
- rename
Record
toPiece
.
0.1.15 (2022-01-07)
DbInt
andDbString
to key types.get_kt()
,put_kt()
anddel_kt()
.htx-file
for supporting hash table index cache.
- change many many codes for performance.
- separate
DbXxx
toDbXxx
,DbXxxObjectSafe
andDbXxxBase
. - rename
DbXxxKeyType
toDbMapKeyType
. - change separates dat-file to key-file and val-file.
key_cache
andrecord_cache
from features.kc-lfu
andkc-lru
from features.
0.1.14 (2021-12-23)
iter()
,iter_mut()
intotrait DbMap
.- a basic iterator.
piece.rs
source code.
0.1.13 (2021-12-20)
kc_print_hits
andnc_print_hits
to features.- key_length_stats() and value_length_stats() into trait CheckFileDbMap.
- more REC_SIZE_ARY of dat.
- changes node offset and node size to 8 bytes boundary.
- changes record size and record offset to 8 bytes boundary.
kc_btree
andkc_hash
from features.offidx_btreemap
from features.buf_idx_btreemap
from features.node_dm32
from features and source codes.
0.1.12 (2021-12-13)
read_fill_buffer()
.- DbMapBytes with
Vec<u8>
KEY. node_dm32
to features.
- refactoring key type source codes.
- rename
trait FileDbXxxInnerKT
totrait DbXxxKeyType
. - many performance tunings.
0.1.11 (2021-12-05)
FileBufSizeParam
.buf_auto_buf_size
to features
- refactoring node.
- changes max node slots for best performance.
0.1.10 (2021-11-26)
buf_overf_rem_all
to default features.nc_lru
to featureskc_lru
to features- bulk_put() method that has pre sort function.
- bug: a node size is calculated small.
0.1.9 (2021-11-21)
- record_cache to features.
- source code refatoring.
- revives feature
"key_cache"
. - rewrites key parameter of put() and put_string().
- rewrites trait DbMapU64 and DbMapString with trait DbXxx.
0.1.8 (2021-11-17)
flush()
method intopub trait DbXxx<KT>
.
- source code refactoring.
0.1.7 (2021-11-16)
- bugs: node_cache and write_node()
0.1.6 (2021-11-16)
- bugs: writing beyond the size limit in dat_file_pop_free_list()
0.1.5 (2021-11-12)
- more test
- bugs: If the key is empty, it will result in an error.
0.1.4 (2021-11-11)
- rename FileDbMap to FileDbMapString, FileDbList to FileDbMapU64.
- separate crates: vu64, rabuf.
0.1.3 (2021-11-09)
- read_inplace() into buf.rs for the fast.
- minimum support rustc version into README.
- removes VarCursor. so slow.
- some bugs.
0.1.2 (2021-11-04)
- node cache for read and write
- RecordSizeStats into src/filedb/mod.rs
- read_one_byte() and read_exact_small() into BufFile for the fast.
- change file header signature:
siamdb
- remove unused enum KeyType from src/filedb/mod.rs
- fix: seek over the end.
0.1.1 (2021-10-30)
- sementic types.
- vu64.rs and vu64_io.rs.
- inner/dbxxx.rs.
- change package name: shamdb to siamesedb.
- change the node size and the record size are variables.
- writes a lot of code but it's still incomplete.
0.1.0 (2021-09-23)
- first commit