Attr: added unsafe getter & setter for name
When used with care, it is possible to bypass many strdup calls. To also save the instructions for the call, which are a lot of overhead now, link time optimization is turned on. (-flto)
Showing
- sefht.geany 3 additions, 3 deletionssefht.geany
- src/lib/Makefile.am 1 addition, 1 deletionsrc/lib/Makefile.am
- src/lib/sefht/attr.c 37 additions, 3 deletionssrc/lib/sefht/attr.c
- src/lib/sefht/attr.h 9 additions, 0 deletionssrc/lib/sefht/attr.h
- tests/test_attr.c 27 additions, 0 deletionstests/test_attr.c
Loading
Please register or sign in to comment