tungtose commented on code in PR #2921:
URL: https://github.com/apache/iggy/pull/2921#discussion_r2936877789


##########
core/common/src/alloc/memory_pool.rs:
##########
@@ -16,26 +16,25 @@
  * under the License.
  */
 
-use bytes::BytesMut;
+use aligned_vec::{AVec, ConstAlign};
 use crossbeam::queue::ArrayQueue;
 use human_repr::HumanCount;
 use once_cell::sync::OnceCell;
 use std::sync::Arc;
 use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
 use tracing::{info, trace, warn};
 
+pub const ALIGNMENT: usize = 4096;

Review Comment:
   @hubcio Can I set this option to 512 or 4096, with 4096 as the default?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to