rdb
e08282003b
putil: Give SimpleHashMap a type handle to enable memory usage tracking
...
Previously SimpleHashMap were entirely absent from the PStats memory statistics.
2020-12-20 01:02:23 +01:00
rdb
ac021e94d6
putil: Ensure SimpleHashMap::_deleted_chain/_table are always initialized
...
Good to be on the safe side.
2020-12-20 00:59:55 +01:00
rdb
f7ab42da56
putil: Fix memory leak in SimpleHashMap
...
Fixes #1077
2020-12-20 00:23:04 +01:00
Sam Edwards
7790f8429d
general: Fully qualify header references into the std namespace
...
Closes #341
2018-06-07 10:35:12 +02:00
rdb
9fad3dba60
general: remove macros for compatibility with non-C++11 compilers
...
Now that we require MSVC 2015, we no longer need all this nonsense, so we can write cleaner code.
2018-05-23 23:33:05 +02:00
rdb
7ea16fd772
putil: fix copy constructor of SimpleHashMap
2018-01-02 19:07:43 +01:00
rdb
69b3468b2c
interrogate: more improvements to seq/map wrappers
...
Gets rid of properties defined as both MAKE_SEQ_PROPERTY/MAKE_MAP_PROPERTY, which are just a bad idea. Instead, adds a way for map properties to define a separate "keys" interface.
Fixes : #203
2017-11-27 17:29:50 +01:00
rdb
8078fa2b38
More efficiently store SimpleHashMap with empty values
2017-10-17 23:04:16 +02:00
rdb
90f96fc1a9
Change SimpleHashMap implementation to improve performance of GC.
...
The new implementation stores elements contiguously and keeps a separate sparse array of indices, similar to the new PyPy and CPython implementations. This vastly improves performance when iterating over the individual elements, such as when garbage collecting states, and decreases memory usage.
2017-06-12 19:58:02 +02:00
rdb
6b882ac767
Fix slow garbage collect after using a lot of states
2017-06-09 20:12:49 +02:00
rdb
6f8b379bda
Big patch full of performance improvements
...
This particularly benefits applications with a lot of nodes.
2017-04-03 01:41:23 +02:00
rdb
8381118a97
Assorted tweaks and compile warning fixes
2016-07-14 12:54:39 +02:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
18ad6d1543
Replace many int params with size_t params where appropriate, and work towards fixing type conversion warnings
2015-10-07 18:58:26 +02:00
rdb
af15797a25
Many, many performance optimizations and enhancements
2015-01-07 19:30:01 +01:00
David Rose
3ed8632a68
further bugfixes
2011-09-05 23:53:19 +00:00
David Rose
220ba658a0
new, experimental TransformState seems to work better for multithreading
2011-09-04 02:52:41 +00:00
David Rose
fb9c56432a
we are now using the modified BSD license
2008-05-28 18:37:20 +00:00
David Rose
5b19635da9
compiler warning
2007-07-23 17:53:57 +00:00
David Rose
5412780717
fix comments, reorder static init timing
2007-07-23 17:36:01 +00:00
David Rose
15a52aa29f
SimpleHashMap
2007-07-21 00:02:14 +00:00