Skip to content

Commit f839db9

Browse files
committed
todo list, remark about thread-unsafeness
1 parent faa5bd6 commit f839db9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@ Moves the iterator to the next item in the set. Moves the iterator to the first
6060
function Value: OleVariant;
6161

6262
Returns the key or value of the current item in the set.
63+
64+
## Remarks
65+
66+
**Attention:** the default `IJSONDocument` implementation: `TJSONDocument` is **not** thread-safe. Please use proper locking and synchronisation methods to ensure only one thread accesses an instance at one time.

TODO.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* thread-safe IJSONDocument implementation
2+
* central global class pointer for all instances?
3+
* pooling and re-use to save on memory allocations
4+
* improve on key index searching (sorting? trees? minimax? dictionary?)

0 commit comments

Comments
 (0)