Skip to content

Add fresh algorithm#60

Open
ignaciomontoropineiro wants to merge 19 commits into
mainfrom
add-fresh-algorithm
Open

Add fresh algorithm#60
ignaciomontoropineiro wants to merge 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]);
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