andrewshadura / bsd-pidfile-rs

Rust wrapper for pidfile_* functions from libbsd/libutil
MIT License
2 stars 2 forks source link

More efficient string handling #9

Closed asomers closed 6 months ago

asomers commented 8 months ago

Eliminate 2-3 data copies while handling path names

andrewshadura commented 8 months ago

Thanks, I’m curious why I did it this way back then. Maybe some of these methods were not available? I can’t remember.