Software /
code /
prosody
Annotate
CONTRIBUTING @ 13134:638f627e707f
util.datamanager: Add O(1) list indexing with on-disk index
Index file contains offsets and lengths of each item() which allows
seeking directly to each item and reading it without parsing the entire
file.
Also allows tricks like binary search, assuming items have some defined
order.
We take advantage of the 1-based indexing in tables to store a magic
header in the 0 position, so that table index 1 ends up at file index 1.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 11 May 2021 02:09:56 +0200 |
parent | 9946:ceaca48a7e6d |
rev | line source |
---|---|
9946
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 Thanks for your interest in contributing to the project! |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 There are many ways to contribute, such as helping improve the |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 documentation, reporting bugs, spreading the word or testing the latest |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 development version. |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 You can find more information on how to contribute at <https://prosody.im/doc/contributing> |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 See also the HACKERS and README files. |