Next on my todo list is to implement in Rust one of the following two:

   1. new data model for Leo tree
   2. javascript parser using rust library for parsing modern javascript 
   and exporting to python extension module

About 1: I had this idea and had made some experiments last summer, and it 
is used in leo-el-vue and leocljs code. Python version that I made shows 
some fair speed improvements in all traversing methods compared with Leo. 
It requires however little more work when inserting or deleting nodes. I 
believe that most of the operations that we do on tree are in fact 
traversing operations. Only from time to time we do insert or delete some 
part of tree. If implemented in Rust those operations will probably be even 
faster than Leo is now.

For the second point, I have found some rust library that claims to parse 
very fast modern javascript dialects. As the above experiment has shown 
exporting rust funcion to python is almost trivial. So, this perhaps can be 
very easy project.

Vitalije

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to