6 ms·
Could you elaborate on what you mean by stream your IO? Is this just using buffered io it is there a concept I could read up on here?
by kkirsche 10y ago
Could you elaborate on what you mean by stream your IO? Is this just using buffered io it is there a concept I could read up on here?
- mattetti 10y agoyes buffered io, you use readers to read/write small chunks at a time instead of loading everything at once. Go offers way to do both since in some cases, such as loading an entire file in memory can be fine/better/faster.