| Ticket UUID: | 23b4017c39727ad02e7318d0c59e3a6180218632 | ||
| Title: | Change compiler flags on TCC to use '-O3' | ||
| Status: | Closed | Type: | Feature_Request |
| Severity: | Minor | Priority: | |
| Subsystem: | Resolution: | Not_A_Bug | |
| Last Modified: | 2013-01-25 18:59:30 | ||
| Version Found In: | |||
| Description & Comments: | |||
|
Compiling with "-O3" (instead of the default "-Os") speeds up all operations (though it makes compilation slower).
As a specific example, it make my huge repository "add" operation go from 18 seconds to 6; likewise, "update" went from 14 to 5. I don't think there are any real problems with the optimizers in recent GCC builds, at least I haven't encountered any. | |||