commit | 06c344ccb8ccfafa9c506f40226ea2cce0e5f75c | [log] [tgz] |
---|---|---|
author | Adam Reichold <adam.reichold@t-online.de> | Fri Sep 21 09:43:40 2018 +0200 |
committer | Adam Reichold <adam.reichold@t-online.de> | Fri Sep 21 09:43:40 2018 +0200 |
tree | 118b8a7eb2acdda289cbf30fac804d7f59e6fa2d | |
parent | 22ea442de8776e7e6fa78062cb8bb224b98e736f [diff] |
Use deferred sorting with Dict again to avoid performance regression This tries to move sorting a Dict into the first find call again, but tries harder to make the double-checked locking work correctly so that at least concurrent calls to find are correct (but concurrent calls to find and add, set or remove are still not allowed).