Cloning a vector of a few elements is cheaper than using an immutable data structure, and there were plenty of cases where normal data structures were totally sufficient. The only place I left them is control flow reconstruction, which makes real use of sharing and cheap clones.
Cloning a vector of a few elements is cheaper than using an immutable data structure, and there were plenty of cases where normal data structures were totally sufficient. The only place I left them is control flow reconstruction, which makes real use of sharing and cheap clones.