I wrote a program that creates a huge search tree. Since my tree is too large, I expected my program to use more than 40% of the processor. instead, my program uses no more than 10% of the processor, even if it runs with high priority.
If threads will use more processor during parallel operation, please let me know this; I can split my program into threads, I really need to reduce the search time.
Thank!
instead, my program uses no more than 10% of the processor
10%, - 10% - , 10 1 100%.
, 100%, , . , - IO/network bound IO . "", ? , , , , /, .
1 , , , .
, - . , . - , , , , . , , , node. - (AVL, red/black, splay, AA ..), , .
. , (, / O (lg n)), , , , . parallelism.
, 10 , , , , / - .
.
(, ), , , .
, , .
, , .NET Framework.
Source: https://habr.com/ru/post/1787218/More articles:VirtualizingStackPanel stops working when overriding the default control template for ScrollViewer - wpfEmpty string as base case in BNF recursion? - bnfGood Crawler / Spider IP Address Source - web-crawlerorg.w3c.dom.Node with Android version less than 2.2 - javaCreating a form object from a font object in Java - javaМожет ли кто-нибудь объяснить Maven 2 (или 3) разрешение зависимости для меня? - eclipsedjango-uni-form helpers and CSRF tags over POST - pythonWhy is this filter here? Should it be in the controller? - phpAutoComplete from 10,000 items in .NET. - .netQuotation marks not shown on display - androidAll Articles