Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4572852
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:42:16+00:00 2026-05-21T19:42:16+00:00

I have been researching the tree data structure described at this link (near the

  • 0

I have been researching the tree data structure described at this link (near the bottom):

http://sigpipe.macromates.com/2009/08/13/maintaining-a-layout/

It is mentioned that this data structure could be a finger tree. However, after more research around finger trees, I’ve found that this lacks the “fingers” that makes finger trees finger trees. Instead, it seems this is just an annotated binary tree (annotated with subtree size).

Do you know of an existing implementation (in any language) of this data-structure that I could use as a reference for my own implementation (though, preferably not an implementation in a functional programming language)?

Or, what would be the most optimal way of retrofitting the subtree size annotations into an existing tree data-structure?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T19:42:17+00:00Added an answer on May 21, 2026 at 7:42 pm

    Simon Tatham’s Counted B-Trees are similar. if the node count is replaced with a width of buffer like in tweak, these provide operations like ropes.

    in fact from reading that the page you reference i see that it was being used like a piece table or line table for an editor

    in the paper, Positional Delta Trees to reconcile updates with read-optimized data storage, the authors present a tree which behavior in regard to the invariants it holds between the nodes in the tree bares a striking resemblance to xanadu’s enfilades to which the Counted B-tree is also similar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been researching options for printing report-like data via a web application. Some
I have been researching this a wee bit and it seems to boil down
I have been researching asynchronous messaging, and I like the way it elegantly deals
I have been researching and playing with functional programming lately, solely to broaden my
I have been researching audit triggers for some of my sql tables. I came
I have recently been web-researching quantum computing. Will we see these in our lifetimes
I have been experimenting with woopra.com A web analytics tool. Which requires a piece
I've been wondering about this for some time. In CouchDB we have some fairly
I have been researching around trying to find the best way to begin developing
I have been researching how to get Cygwin to work under emacs . I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.