mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
There is no need to allocate half a kilobyte of memory only check that a buffer starts with a bunch of spaces and a `{`, 32b should be more than enough. Also, no need to allocate it on the heap, having it on the stack works perfectly. |
||
---|---|---|
.. | ||
testdata | ||
format.go | ||
format_test.go | ||
parser.go | ||
parser_test.go |