You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* new version of mdbx
* Add test for cursor binding on empty DBI and improve test coverage.
* Remove debug println and skip TestCursor_BindOnEmptyDbi temporarily
---------
Co-authored-by: JkLondon <ilya@mikheev.fun>
_libmdbx_ inherits all benefits from _LMDB_, but resolves some issues and adds [a set of improvements](#improvements-beyond-lmdb).
66
66
67
-
### MithrilDB and Future
67
+
## Github
68
+
69
+
### на Русском (мой родной язык)
70
+
71
+
Весной 2022, без каких-либо предупреждений или пояснений, администрация
72
+
Github удалила мой аккаунт и все проекты. Через несколько месяцев, без
73
+
какого-либо моего участия или уведомления, проекты были
74
+
восстановлены/открыты в статусе "public read-only archive" из какой-то
75
+
неполноценной резервной копии. Эти действия Github я расцениваю как
76
+
злонамеренный саботаж, а сам сервис Github считаю навсегда утратившим
77
+
какое-либо доверие.
78
+
79
+
Вследствие произошедшего, никогда и ни при каких условиях, я не буду
80
+
размещать на Github первоисточники (aka origins) моих проектов, либо
81
+
как-либо полагаться на инфраструктуру Github.
82
+
83
+
Тем не менее, понимая что пользователям моих проектов удобнее получать к
84
+
ним доступ именно на Github, я не хочу ограничивать их свободу или
85
+
создавать неудобство, и поэтому размещаю на Github зеркала (aka mirrors)
86
+
репозиториев моих проектов. При этом ещё раз акцентирую внимание, что
87
+
это только зеркала, которые могут быть заморожены, заблокированы или
88
+
удалены в любой момент, как это уже было в 2022.
89
+
90
+
### in English
91
+
92
+
In the spring of 2022, without any warnings or explanations, the Github
93
+
administration deleted my account and all projects. A few months later,
94
+
without any involvement or notification from me, the projects were
95
+
restored/opened in the "public read-only archive" status from some kind
96
+
of incomplete backup. I regard these actions of Github as malicious
97
+
sabotage, and I consider the Github service itself to have lost any
98
+
trust forever.
99
+
100
+
As a result of what has happened, I will never, under any circumstances,
101
+
post the primary sources (aka origins) of my projects on Github, or rely
102
+
in any way on the Github infrastructure.
103
+
104
+
Nevertheless, realizing that it is more convenient for users of my
105
+
projects to access them on Github, I do not want to restrict their
106
+
freedom or create inconvenience, and therefore I place mirrors of my
107
+
project repositories on Github. At the same time, I would like to
108
+
emphasize once again that these are only mirrors that can be frozen,
109
+
blocked or deleted at any time, as was the case in 2022.
110
+
111
+
## MithrilDB and Future
68
112
69
113
<!-- section-begin mithril -->
70
114
@@ -234,7 +278,7 @@ which is also (mostly) applicable to _libmdbx_ with minor clarification:
234
278
- a database could shared by multiple processes, i.e. no multi-process issues;
235
279
- no issues with moving a cursor(s) after the deletion;
236
280
-_libmdbx_ provides zero-overhead database compactification, so a database file could be shrinked/truncated in particular cases;
237
-
- excluding dist I/O time _libmdbx_ could be -3 times faster than BoltDB and up to 10-100K times faster than both BoltDB and LMDB in particular extreme cases;
281
+
- excluding disk I/O time _libmdbx_ could be ≈3 times faster than BoltDB and up to 10-100K times faster than both BoltDB and LMDB in particular extreme cases;
238
282
-_libmdbx_ provides more features compared to BoltDB and/or LMDB.
239
283
240
284
<!-- section-end -->
@@ -602,16 +646,19 @@ error when opening the database in a _WSL1_ environment.
602
646
### MacOS
603
647
Current [native build tools](https://en.wikipedia.org/wiki/Xcode) for
604
648
MacOS include GNU Make, CLANG and an outdated version of Bash.
605
-
Therefore, to build the library, it is enough to run `make all` in the
649
+
However, the build script uses GNU-kind of `sed` and `tar`.
650
+
So the easiest way to install all prerequirements is to use [Homebrew](https://brew.sh/),
651
+
just by `brew install bash make cmake ninja gnu-sed gnu-tar --with-default-names`.
652
+
653
+
Next, to build the library, it is enough to run `make all` in the
606
654
directory with source code, and run `make check` to execute the base
607
655
tests. If something goes wrong, it is recommended to install
608
656
[Homebrew](https://brew.sh/) and try again.
609
657
610
658
To run the [long stochastic test scenario](test/stochastic.sh), you
611
659
will need to install the current (not outdated) version of
612
-
[Bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell)). To do this, I
613
-
recommend that you install [Homebrew](https://brew.sh/) and then execute
0 commit comments