Refactor trp.h to use offsets internally.
commit4c48af0c8e817db40e2bca9dad977acd470d36e8
authorDavid Barr <david.barr@cordelta.com>
Fri, 4 Jun 2010 00:46:25 +0000 (4 10:46 +1000)
committerDavid Barr <david.barr@cordelta.com>
Sat, 5 Jun 2010 13:20:48 +0000 (5 23:20 +1000)
tree3ab36491a4f5306c20a91466a45efb15c7ec1c18
parent9fabd42d98a5e2a9abed4925481fe2909bd2ed4e
Refactor trp.h to use offsets internally.

Using offsets rather than pointers on the stack will allow
allocations to occur while traversing the treap.
This will be very helpful when implementing immutable treaps.

Signed-off-by: David Barr <david.barr@cordelta.com>
trp.h