Commit graph

3 commits

Author SHA1 Message Date
Jonathan Moody
0ab37e1541 Distinguish between Mutable/Immutable treap node recycling, and make Mutable
treap recycle nodes consistently. Rework Immutable treap node recycling
attempting to make it safer in the presence of code that takes snapshots
(dbCacheSnapshot) of the treap. Add special mutable PutM and DeleteM
methods which DB transaction can use to apply changes more efficiently
without creating lots of garbage memory.
2022-06-03 11:47:27 -04:00
Brannon King
a7a30339cb recycle treap nodes 2022-06-03 11:47:13 -04:00
Dave Collins
b580cdb7d3 database: Replace with new version.
This commit removes the old database package, moves the new package into
its place, and updates all imports accordingly.
2016-04-12 14:55:15 -05:00
Renamed from database2/internal/treap/common.go (Browse further)