3 ms·
We need to move to algorithmic optimization. I want a language that will switch by itself between using a vector or a list to represent some sequence X, then ch
by ced 18y ago
We need to move to algorithmic optimization. I want a language that will switch by itself between using a vector or a list to represent some sequence X, then choose the best one.
In any case, that's what I'm working on.
- orib 18y agoInteresting. Got any links about the approach you're taking to decide what would be optimal? It seems like that would be a very difficult problem.
- ced 18y agoIt's one part of an ambitious OS project. I discard a lot of assumptions about software and programming languages. It's actually not hard in principle. There is a very easy algorithm for deciding whether you should use a list or an array: You try it out. If I fail, I'll write about it some day...