Closed min-guk closed 1 year ago
Hi, and thanks again!
In the example *std_it == *pgm_it
so the correct key has been found. I updated the documentation so that it reflects the meaning of the returned range. Thanks
I'm glad that my opinion is reflected in this repository. Have a good day!
Hello there! I want to express my admiration for the excellent thesis you've put together. Your work is truly insightful and contributes greatly to the field. Also, I appreciate the kind and helpful response you provided to my previous question. I hope you won't mind if I ask for your guidance once more.
I've been looking into the code and noticed something interesting. When a key is present, the error bound seems to be defined as [p-e, p+e+2). On the other hand, if the key isn't present, the error bound appears to be guaranteed as [p-e, p+e+3).
You mentioned in your comments that the range is guaranteed to contain a key that is not less than lookup key if key is not present. However, I was wondering if it might actually guaranteed to contain a key that is less than lookup key.
I hope you don't mind me seeking some clarification on this topic. Would it be more accurate to define the error bound range that includes the start and excludes the end as [p-e, p+e+3) regardless of whether the key exists or not? I'd really appreciate your thoughts on this.
Additionally, I've included a modified version of your example code below to help illustrate my question.
I hope you'll find my observations helpful, and if my findings do turn out to be accurate, would you be open to receiving a pull request for your repository? I'd be more than happy to contribute in a way that respects your work and intentions. Please let me know if this would be acceptable to you, and once again, thank you for your valuable insights and assistance.
[Test Code]
[Result]