Menu

Commit [r4982]  Maximize  Restore  History

Updated memory management in hashtable (which manages hashing for incremental

table maintenance.) It now uses XSB mem_alloc and friends, and there is a new
space type of INCR_TABLE_SPACE. It is included in SLG Table space in statistics
and is also broken out (if nonzero).
And doing that showed a huge amount of unused space due to many large hashtables
when there's only one edge. So I changed the minimum size of initial hashtables
(they are automatically expanded if necessary.) [It reduced incr space usage in
my DSS example from about 340M to 8M... much!! better.]

dwarren 2006-10-06

changed /trunk/XSB/emu/call_graph_xsb.h
changed /trunk/XSB/emu/hashtable.c
changed /trunk/XSB/emu/hashtable_itr.c
changed /trunk/XSB/emu/hashtable_private.h
changed /trunk/XSB/emu/memory_xsb.h
changed /trunk/XSB/emu/trace_xsb.c
/trunk/XSB/emu/call_graph_xsb.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/hashtable.c Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/hashtable_itr.c Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/hashtable_private.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/memory_xsb.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/trace_xsb.c Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB