English 中文(简体)
r是否具备任何平衡条件?
原标题:Is there any balance condition for the rope?

我刚刚读到Rope的文章,并且没有发现任何ope余额。 这是否意味着,任何带短str的双龙树都是一种ope?

最佳回答

这是否意味着,任何带短str的双龙树都是一种ope?

是的。 视执行情况,can<>>m> 应为平衡战略,但绝不必要。

通常,使用化肥的用途预计较少,因此,在努力实施平衡战略方面,以及(小型)管理成本方面,保持平衡战略的间接费用都没有价值。

问题回答

The original rope paper does mention a rebalancing strategy which is based on Fibonacci numbers. "Ropes: an Alternative to Strings", by Boehm, Atkinson, and Plass, in SOFTWARE--PRACTICE AND EXPERIENCE, VOL. 25(12), 1315–1330 (DECEMBER 1995)

我同意,许多申请只使用几个节点,这意味着它们在不必担心重新平衡的情况下利用绳索。 但是,如果在图书馆里提供红树,那就必然需要保持树木平衡,因为它不知道申请要求。 See the BigList implementation in the PowerCollection Library from Wintellect for reference:

https://github.com/timdetering/Wintellect.Col Powerlections/blob/master/Source/PowerCollections/BigList.cs”rel=“nofollow noreferer”>https://github.com/timdetering/Wintellect.PowerCollections/blob/master/Source/Caplections/BigList.cs





相关问题
The Fastest DataStructure to Filter with in C#

Currently we are filtering and sorting data with a datatable. /// <summary> /// Filters the data table and returns a new data table with only the filtered rows. /// </summary>...

Efficient queue in Haskell

How can I efficiently implement a list data structure where I can have 2 views to the head and end of the list, that always point to a head a tail of a list without expensive calls to reverse. i.e: ...

Java large datastructure for storing a matrix

I need to store a 2d matrix containing zip codes and the distance in km between each one of them. My client has an application that calculates the distances which are then stored in an Excel file. ...

Holding onto items after a postback

I have an ASP.NET web application and I want to be able to take items from a master list and store them temporarliy into one of four other lists. The other lists need to survive post backs so that ...

negative number in the stack

I am a new student in the compilers world ^_^ and I want to know is legal represent negative number in the stack. For example: infix: 1-5=-4 postfix: 15- The statements are: push(1) push(5) x=...

What type of struct/container would you use in this instance?

I am trying to figure out what type of structure or container I should use for a quick project. I need to have an unknown number of sets that will be entered from the GUI (each one will have a name, ...

热门标签