sergiusens / snapcraft-preload

Use smart preloading in your snaps to avoid hard coded parts that would fail security.
12 stars 20 forks source link

preload: handle strings reducing duplicated computations #6

Closed 3v1n0 closed 7 years ago

3v1n0 commented 7 years ago

Keep strings lengths cached and use them instead of repeatedly using strlen.