From 4b375004c99ef8cdc9c029f49fe03aba99fad2c7 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 29 Aug 2024 11:58:57 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: OlivierDehaene --- backends/v3/src/radix.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/backends/v3/src/radix.rs b/backends/v3/src/radix.rs index 0ee2e68a..4fcb2a6c 100644 --- a/backends/v3/src/radix.rs +++ b/backends/v3/src/radix.rs @@ -25,14 +25,6 @@ pub struct RadixAllocator { impl RadixAllocator { pub fn new(block_size: u32, n_blocks: u32, window_size: Option) -> Self { - // assert_eq!( - // block_size, 1, - // "Radix tree allocator only works with block_size=1, was: {}", - // block_size - // ); - // if window_size.is_some() { - // unimplemented!("Window size not supported in the prefix-caching block allocator yet"); - // } RadixAllocator { allocation_id: 0,