On Sun, Jun 7, 2009 at 6:40 AM, Ville M. Vainio <[email protected]> wrote:

>
> Currently, it appears that the only "api-supported" way to create
> clones is using p.clone().
>
> This is bad, because it's too high level:


c.clone is high level.  p.clone is as fast as can be.

>
>
> - It always creates the clone after the position. If you want the
> clone elsewhere, you need to move it (which is expensive).


All methods in the tree "p.Moving, Inserting, Deleting, Cloning, Sorting"
should be extremely fast.  Take a look.

Drawing the tree is what is expensive, and none of these methods do that.

Edward

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to