go-datastructures icon indicating copy to clipboard operation
go-datastructures copied to clipboard

CopyOnWrite ArrayList/Slice

Open vkuzmin-uber opened this issue 7 years ago • 0 comments

Java 5 introduced:

https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/CopyOnWriteArrayList.html

It's very efficient if you have a List where you mostly need to iterate the ArrayList and don't modify it too often.

I used this data structure at Java and have an idea how to make it right at Go. I am willing to work on it and create a Pull request then. Just want to make sure there is no active development or it was discussed and rejected by some reason.

vkuzmin-uber avatar Mar 27 '18 01:03 vkuzmin-uber