Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"06-28-11 - String Extraction"

2 Comments -

1 – 2 of 2
Blogger Tom Johnstone said...

I like the idea, but the fact that you store all your strings in a big contiguous array kind of breaks symbol stripping

August 4, 2011 at 8:27 PM

Blogger cbloom said...

True, it makes the strings more like data instead of code, so link-time code stripping doesn't work. You would have to use whatever mechanisms you have in place for dead data stripping.

(or in my case these are only for debug strings, so the whole point is that it removes them from being shipped at all in the production build).

August 6, 2011 at 11:43 AM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.