一个著名的资料来源就曾经引证说一个同步的方法调用比一个非同步的方法调用慢50倍。
One well-known source has cited that a synchronized method call is as much as 50 times slower than an unsynchronized method call.
对一个空方法的同步调用可能要比对一个空方法的非同步调用慢20倍,但我们多长时间才调用一次空方法呢?
A synchronized call to an empty method may be 20 times slower than an unsynchronized call to an empty method, but how often do we call empty methods?
即使一个程序只包括一个在单一处理器上运行的单线程,一个同步的方法调用仍要比非同步的方法调用慢。
Even when a program contains only a single thread running on a single processor, a synchronized method call is still slower than an unsynchronized method call.
争用同步之所以慢,是因为它涉及多个线程切换和系统调用。
Contended synchronizations are slow because they involve multiple thread switches and system calls.
慢波就像重放按钮一样,它使大脑海马状突起重新激活新记忆并使大脑皮层同步运作,从而长久储存这些新记忆。
Slow electrical waves act as a replay button, causing the hippocampus to reactivate new memories and synchronizing the neocortex so that it accepts them into long-term storage.
采用该控制方法,进行大椭圆轨道慢旋目标同步绕飞跟踪控制器设计。
The proposed method is applied to slowly rotating non-cooperative target in an arbitrary elliptical orbit synchronous fly-around position tracking control.
此方法的缺点是类将要比没有添加同步对象的相同类慢一些。
The drawbacks to this approach are that the class will be slightly slower than the same class without the synchronization objects added.
并且无争用同步和争用同步间的性能损失差别很大;一个简单的测试程序指出争用同步比无争用同步慢50倍。
The cost difference between an uncontended synchronization and a contended one is huge; a simple test program suggested that a contended synchronization is 50 times slower than an uncontended one.
其他动物的大脑区域发育是同步的,而人类的PFC发育远远慢于大脑其他区域。
While other animals' brain regions development in synchrony, in humans, the development of the PFC lags far behind that of other areas.
其他动物的大脑区域发育是同步的,而人类的PFC发育远远慢于大脑其他区域。
While other animals' brain regions development in synchrony, in humans, the development of the PFC lags far behind that of other areas.
应用推荐