-
Exactly as stated in the title. I'm thinking about making it like a chain, using some constraints, but add smaller and more segments. Is this a viable approach? Thank you for all your work thus far.
-
I understand that xi editor use a rope datastructure to represent a file. My question relates to how lines are represented in this datastructure. Given the fact that operation on lines should be fast …
-
Methods that return string slices from a Rope should be refactored to return `std::borrow::Cow`.
hawkw updated
7 years ago
-
**Is your data structure request related to a computational problem? Please describe.**
I'm working on a Conflict-Free Replicated Data Type (CRDT) for strings, and I would like to use a rope-like str…
nloum updated
3 years ago
-
Really appreciate for the youtube video for finetune with Mac M1,
And I can run the finetune successfully on my Mac M1.
```
python scripts/lora.py --model mlx-community/Mistral-7B-Instruct-v0.2-4b…
-
Hey guys!
I've found one issue while development of my project:
```
In [1]: s = b'# -*- coding: utf-8 -*-\nfrom __future__ import unicode_literals\n'
In [2]: start = 12
In [3]: s[start] not…
-
Continuing the discussion from #34.
hawkw updated
7 years ago
-
It seems that using a [Rope data structure](https://en.wikipedia.org/wiki/Rope_%28data_structure%29) is efficient for string operations. Maybe holding string parts in a Hamster::Vector achieves the sa…
dubek updated
8 years ago
-
So I noticed that a test like
#[test]
fn delete_test_8() {
let r = Rope::from("this is not fine".to_string());
assert_eq!(&r, "this is not");
}
fails with
…
-
From the TODO [comment](https://github.com/hawkw/an-editor/blob/master/an-rope/src/internals.rs#L267-L270):
> // TODO: this is a huge mess, I based it on the IBM Java implementation
> //…
hawkw updated
7 years ago