summaryrefslogtreecommitdiffstats
path: root/src/stream.c
Commit message (Collapse)AuthorAgeFilesLines
* refactor && improve.Gravatar Gediminas Jakutis 2021-03-101-3/+31
| | | | | | Make code more reusable and generic while preparing to add uncached ops. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* straight up code refactor.Gravatar Gediminas Jakutis 2021-03-031-15/+13
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* move readfile implementation to cache.Gravatar Gediminas Jakutis 2021-02-251-33/+1
| | | | | | | | Reading and entire file in is only done for caching, uncached streams will never do that, so it makes sense to move it from stream function collection to cache functions, making it static along the way. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* in-memory array sorting: GET!Gravatar Gediminas Jakutis 2021-02-211-0/+293
lists need a bit more work and after that, in-file should shortly follow. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>