From: Matt Joiner Date: Fri, 15 Aug 2025 01:04:35 +0000 (+1000) Subject: Set default file IO implementation to mmap X-Git-Tag: v1.59.0~2^2~1 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=8fe0dba082fcb4fd6a9b1896d71194e2e2e90af9;p=btrtrc.git Set default file IO implementation to mmap --- diff --git a/storage/file-client.go b/storage/file-client.go index dde12315..793b7e58 100644 --- a/storage/file-client.go +++ b/storage/file-client.go @@ -72,7 +72,7 @@ func (me *fileClientImpl) Close() error { } var defaultFileIo func() fileIo = func() fileIo { - return classicFileIo{} + return &mmapFileIo{} } func init() {