Skip to main content

New answers tagged

0 votes

How to get GCC to inline strcpy (string copy)

Another option - which can be relevant for the cases that the actual strcpy are for short string, and the benefits of the avoiding the calls is significant - is to implement "light weight" ...
dash-o's user avatar
  • 14.7k
0 votes

How to get GCC to inline strcpy (string copy)

For string of unknown length - inlining strcpy can be complex - different strategies can optimized for different cases (long string, vs short string, different architecture, ...) It's easier to get ...
dash-o's user avatar
  • 14.7k

Top 50 recent answers are included