Commit Graph

5 Commits

Author SHA1 Message Date
Vladislav Nepogodin
3e09d7c065
👷 gucc: replace all ofstream with helper function in tests 2024-08-09 15:12:19 +04:00
Vladislav Nepogodin
b3929ef98e
👷 gucc: use doctest instead of raw C asserts 2024-08-09 14:52:49 +04:00
Vladislav Nepogodin
b6d5c2760e
👷 gucc: rewrite pacmanconf to reuse file content
don't make extra memory allocations:
- don't allocate vector of strings to find locations
- don't convert that vector of strings into new string

previously:
```
heaptrack stats:
	allocations:          	69
	leaked allocations:   	0
	temporary allocations:	4
```

after:
```
heaptrack stats:
	allocations:          	32
	leaked allocations:   	0
	temporary allocations:	5
```
2024-07-04 00:27:10 +04:00
Vladislav Nepogodin
795b8b183e
🧹 gucc: move headers into separate path 2024-06-26 16:16:34 +04:00
Vladislav Nepogodin
6a20590e9d
🧹 gucc: move some functions into library 2024-06-26 01:53:19 +04:00