会的。memory hierarchy 很猛的。比如多线程读写的情况下,简单的padding 如果能 避免false sharing速度快十倍轻松愉快。 当然也可以选择堆硬件,但是你要说优化不能快个十几二十倍我建议你可以听听CMU Silicon Valley 的how to write fast code课。当年我是TA,不知现在这课还开不开。
【在 b**********5 的大作中提到】 : seriously, if i were see or hear vert.x one more fucking time, i am gonna : take it and shove it so far up ur ass, that u wouldn't have an ass anymore!