Skip to content

Add fresh algorithm - #60

Merged
ignaciomontoropineiro merged 19 commits into
mainfrom
add-fresh-algorithm
Jul 15, 2026
Merged

Add fresh algorithm#60
ignaciomontoropineiro merged 19 commits into
mainfrom
add-fresh-algorithm

Conversation

@ignaciomontoropineiro

Copy link
Copy Markdown
Collaborator

Add the fresh algorithm with the updated readme and pybinds

Comment thread lib/algos/Fresh.cpp
Comment on lines +110 to +111
current_buffer->sax_records[workernumber] = (sax_type *)malloc(index->settings->sax_byte_size *
current_buffer->max_buffer_size[workernumber]);
Comment thread lib/algos/Fresh.cpp
Comment on lines +112 to +113
current_buffer->pos_records[workernumber] = (file_position_type *)malloc(index->settings->position_byte_size *
current_buffer->max_buffer_size[workernumber]);
Comment thread lib/algos/Fresh.cpp
{
current_buffer->max_buffer_size[workernumber] *= BUFFER_REALLOCATION_RATE;
current_buffer->sax_records[workernumber] = (sax_type *)realloc(current_buffer->sax_records[workernumber],
index->settings->sax_byte_size * current_buffer->max_buffer_size[workernumber]);
Comment thread lib/algos/Fresh.cpp
current_buffer->sax_records[workernumber] = (sax_type *)realloc(current_buffer->sax_records[workernumber],
index->settings->sax_byte_size * current_buffer->max_buffer_size[workernumber]);
current_buffer->pos_records[workernumber] = (file_position_type *)realloc(current_buffer->pos_records[workernumber],
index->settings->position_byte_size * current_buffer->max_buffer_size[workernumber]);
@ignaciomontoropineiro
ignaciomontoropineiro merged commit b159bb8 into main Jul 15, 2026
6 of 7 checks passed
@ignaciomontoropineiro
ignaciomontoropineiro deleted the add-fresh-algorithm branch July 15, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants