Clean up lookahead-related code#3
Clean up lookahead-related code#3tomerqodo wants to merge 7 commits intoaugment_full_base_clean_up_lookahead-related_code_pr3from
Conversation
Co-authored-by: Ozan Tezcan <ozantezcan@gmail.com>
🤖 Augment PR SummarySummary: This PR streamlines cluster slot “lookahead” handling by centralizing slot extraction and unifying sentinel return codes. 🤖 Was this summary useful? React with 👍 or 👎 |
| /* Allocate temporary buffer for slot tracking */ | ||
| int *slot_buffer = malloc(sizeof(int) * keys_result->numkeys); | ||
|
|
||
| for (int j = 0; j <= keys_result->numkeys; j++) { |
| for (int j = 0; j < keys_result->numkeys; j++) { | ||
|
|
||
| /* Allocate temporary buffer for slot tracking */ | ||
| int *slot_buffer = malloc(sizeof(int) * keys_result->numkeys); |
|
|
||
| *slot = INVALID_CLUSTER_SLOT; | ||
| if (num_keys >= 0) | ||
| if (num_keys > 0) { |
There was a problem hiding this comment.
Benchmark PR from agentic-review-benchmarks#3