File tree Expand file tree Collapse file tree
include/bitcoin/database/impl/primitives Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,30 +258,19 @@ constexpr CLASS::link CLASS::to_link(cell value) NOEXCEPT
258258}
259259
260260TEMPLATE
261- constexpr CLASS::cell CLASS::to_cell (cell previous , link current) NOEXCEPT
261+ constexpr CLASS::cell CLASS::to_cell (cell, link current) NOEXCEPT
262262{
263- // [--------------filter---------------][--------------link--------------]
264- // [[sen][--------fingerprints--------]][--------------link--------------]
265-
266- // [[111][1111111111111111111111111111]] terminal (empty/default)
267- // [[000][1111111111111111111111111111]] 1 FPs
268- // [[001][2222222222222211111111111111]] 2 FPs
269- // [[010][3333333333222222222111111111]] 3 FPs
270- // [[011][4444444333333322222221111111]] 4 FPs
271- // [[100][5555554444443333332222211111]] 5 FPs
272- // [[101][6666655555444443333322221111]] 6 FPs
273- // [[110][7777666655554444333322221111]] 7 FPs
274- // [[111][0000000000000000000000000000]] overflow
263+ // TODO:
275264 return current;
276265}
277266
278267TEMPLATE
279- constexpr bool CLASS::is_collision (cell value, const Key& key ) NOEXCEPT
268+ constexpr bool CLASS::is_collision (cell value, const Key&) NOEXCEPT
280269{
281270 if (value == terminal)
282271 return false ;
283272
284- // TODO: true if overflow sentinel or any matching FP.
273+ // TODO:
285274 return true ;
286275}
287276
You can’t perform that action at this time.
0 commit comments