Commit Graph
10 Commits
Author SHA1 Message Date
Karoy Lorentey 6f93a628e8 [PersistentDictionary] BitmapIndexedDictionaryNode → PersistentDictionary._ Node, Header → _NodeHeader
Also move Capacity, Bitmap under _NodeHeader.

Start thematically organizing _Node members.
2022-09-07 21:06:19 -07:00
Karoy Lorentey 2597ff23cd [PersistentDictionary] Apply leading underscore rule to common functions 2022-09-07 21:06:19 -07:00
Karoy Lorentey 978a833756 [PersistentDictionary] Clean up Iterator types
- DictionaryKeyValueTupleIterator → PersistentDictionary.Iterator
- DictionaryKeyValueTupleReverseIterator → PersistentDictionary.ReverseIterator

The latter type is unused. Moved under the Unused folder for now.
2022-09-07 21:06:19 -07:00
Karoy Lorentey 8e19b80a23 [PersistentCollections] Apply the leading underscore rule
Also, move types into their own files.
2022-09-07 21:06:19 -07:00
Karoy Lorentey 1a4993dfda [PersistentCollections] Reformat
Follow the Standard Library coding style:

- Hard 80 character line limit
- Use two spaces as the indentation unit
- Overlong lines broken up by adding line breaks at the following places
    1. After opening delimiters & before closing delimiters
    2. Between each item in a list
    3. Extracting subexpressions etc as needed
2022-09-07 19:16:41 -07:00
Michael Steindorfer 49283d3251 [Capsule] Remove unchecked variant of initializer 2022-09-06 16:37:23 +02:00
Michael Steindorfer 26b97f95d2 [Capsule] Unify insertion/deletion methods
Note, always tracking discardable result negatively impacts batch
use cases.
2022-09-06 16:11:17 +02:00
Michael Steindorfer 7ea47d711f [Capsule] Simplify deletion methods 2022-09-06 14:02:54 +02:00
Michael Steindorfer 4e213be00a [Capsule] Simplify insertion methods 2022-09-06 13:53:58 +02:00
Michael Steindorfer 5bc17ffe84 [Capsule] Rename package to PersistentCollections 2022-09-06 13:22:10 +02:00