소스 검색

Add a comment as to why we still have both expand() and Eval::next()

Ian Goldberg 3 년 전
부모
커밋
473692210f
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      rdpf.cpp

+ 3 - 0
rdpf.cpp

@@ -319,6 +319,9 @@ DPFnode RDPF::leaf(address_t input, size_t &op_counter) const
 }
 
 // Expand the DPF if it's not already expanded
+//
+// This routine is slightly more efficient than repeatedly calling
+// Eval::next(), but it uses a lot more memory.
 void RDPF::expand(size_t &op_counter)
 {
     nbits_t depth = this->depth();