Skip to content

Commit

Permalink
Improve: Align allocations to page size by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Jul 23, 2023
1 parent 6aa06cb commit 134a6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/usearch/index_punned_dense.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class index_punned_dense_gt {
/// @brief Schema: input buffer, bytes in input buffer, output buffer.
using cast_t = std::function<bool(byte_t const*, std::size_t, byte_t*)>;
/// @brief Punned index.
using index_t = index_gt<metric_t, label_t, id_t, aligned_allocator_t, memory_mapping_allocator_t>;
using index_t = index_gt<metric_t, label_t, id_t, aligned_allocator_t, memory_mapping_allocator_gt<64>>;
using index_allocator_t = aligned_allocator_gt<index_t, 64>;

using member_iterator_t = typename index_t::member_iterator_t;
Expand Down

0 comments on commit 134a6f0

Please sign in to comment.