Kouhei Sutou
null+****@clear*****
Sat Jan 17 17:39:31 JST 2015
Kouhei Sutou 2015-01-17 17:39:31 +0900 (Sat, 17 Jan 2015) New Revision: fb6bf8490fa5d1f482993d694a13347a21617e39 https://github.com/groonga/groonga/commit/fb6bf8490fa5d1f482993d694a13347a21617e39 Message: windows io: add TODO comment for VirtualAlloc() Modified files: lib/io.c Modified: lib/io.c (+4 -0) =================================================================== --- lib/io.c 2015-01-17 17:33:22 +0900 (d931d50) +++ lib/io.c 2015-01-17 17:39:31 +0900 (2ea581b) @@ -1326,6 +1326,10 @@ grn_mmap_v1(grn_ctx *ctx, HANDLE *fmo, fileinfo *fi, off_t offset, size_t length if (fmo) { *fmo = NULL; } + /* TODO: Try to support VirtualAlloc() as anonymous mmap in POSIX. + * If VirtualAlloc() provides better performance rather than malloc(), + * we'll use it. + */ return GRN_GCALLOC(length); } /* CRITICAL_SECTION_ENTER(fi->cs); */ -------------- next part -------------- HTML����������������������������...ダウンロード