Re:GCC Optimisation, Part 0: Introduction

2011-04-27 Thread Yuan Pengfei
Hi, Richard

> Any other advice will be appreciated.

I think you can look into llvm-clang. It compiles faster and uses much less 
memory than gcc.

I would also like to see that size of gcc binary (cc1, cc1plus, etc.) is 
reduced.

----
Yuan Pengfei
Peking Unversity, China

Re: GCC Optimisation, Part 0: Introduction

2011-04-28 Thread Yuan Pengfei
Hi Xu,

B+ tree is more commonly used in file systems. In memory, I think RB-tree is 
better.
RB-tree vs. hash table is just like map vs. unordered_map.

--
Yuan Pengfei
Peking Unversity, China