Islam El-Ashi
Islam El-Ashi
The difference between `foo()` and `into_foo()` is that the former returns a reference while the latter returns a full copy of the data. In our case, since data is being...
Hi @linnefromice, Currently, `Vec` doesn't support storing unbounded types. Support for unbounded types is currently only available in `BTreeMap` and in the append-only `Log` structure. So you'd either need to...
That also works. There is one subtle difference, but that won't matter in your example. If `N` is in the key then it's also sorted, but I understand this is...
Closing this ticket given that the question has been answered. Feel free to open with additional questions.
The problem you're describing sounds more of an architectural problem to me. The memory manager, should one choose to use it, is a global resource. IMHO dependencies shouldn't be using...
As I mentioned above, there are technical reasons why we haven't been able to do so. We're of course happy to incorporate concrete technical suggestions you have that address the...
I don't understand the suggestion. Can you share an example? Let's say you have the following code: ``` thread_local! { static MEMORY_MANAGER: RefCell = RefCell::new(MemoryManager::init(DefaultMemoryImpl::default())); static BTREE_1: RefCell = RefCell::new(...
Agreed, libraries should be passed in memories explicitly and not use specific IDs themselves.
As I mentioned on Slack, I'm not sure why we're doing this upgrade. AFAICT it's bringing risk with no particular gain.
> > As I mentioned on Slack, I'm not sure why we're doing this upgrade. AFAICT it's bringing risk with no particular gain. > > Yes, perfectly understood. I made...