mozilla/rust — pull request #8421 by alexcrichton (2013-08-09 20:54:32+00:00)
Title: Implement an `address_insignificant` attribute

This can be applied to statics and it will indicate that LLVM will attempt to
merge the constant in .data with other statics.

I have preliminarily applied this to all of the statics generated by the new
`ifmt!` syntax extension. I compiled a file with 1000 calls to `ifmt!` and a
separate file with 1000 calls to `fmt!` to compare the sizes, and the results
were:

```
fmt 310k
ifmt (before) 529k
ifmt (after) 202k
```

This now means that ifmt! is both faster and smaller than fmt!, yay!