Skip to content

Commit 1d694e0

Browse files
committed
linux disk performance
1 parent 6bf8d23 commit 1d694e0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

opteryx/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# THIS FILE IS AUTOMATICALLY UPDATED DURING THE BUILD PROCESS
22
# DO NOT EDIT THIS FILE DIRECTLY
33

4-
__build__ = 1708
4+
__build__ = 1709
55
__author__ = "@joocer"
6-
__version__ = "0.26.0-beta.1708"
6+
__version__ = "0.26.0-beta.1709"
77

88
# Store the version here so:
99
# 1) we don't load dependencies by storing it in __init__.py

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "opteryx"
3-
version = "0.26.0-beta.1708"
3+
version = "0.26.0-beta.1709"
44
description = "Query your data, where it lives"
55
requires-python = '>=3.11'
66
readme = {file = "README.md", content-type = "text/markdown"}

src/cpp/disk_io.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ int read_all_mmap(const char* path, uint8_t** dst, size_t* out_len) {
176176
return 0;
177177
}
178178

179-
void* mapped = mmap(NULL, size, PROT_READ, MAP_PRIVATE | MAP_POPULATE, fd, 0);
179+
void* mapped = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, 0);
180180
close(fd);
181181

182182
if (mapped == MAP_FAILED) {

0 commit comments

Comments
 (0)