vkitchen / cocomel

A search engine
ISC License
6 stars 0 forks source link

Better buffering on output #14

Closed vkitchen closed 1 year ago

vkitchen commented 5 years ago

Currently a large chunk is allocated as buffer for index write in order to support both single file xml input and tar.gz input. But the large chunk might not be enough. It would be better to have a temporary buffer which is flushed whenever it gets full. Test the performance difference between this and writing straight

vkitchen commented 1 year ago

Fixed in the Zig rewrite