immutable icon indicating copy to clipboard operation
immutable copied to clipboard

Generics?

Open burdiyan opened this issue 3 years ago • 1 comments

I wonder if this library is willing to adopt Go generics, and whether or not it's aiming to be actively maintained in the future? I'm interested in having immutable data structures for a project I'm working on, and I'm thinking about converting this code to use generics. Shall I contribute this back, if I actually end up doing the fork?

burdiyan avatar Apr 25 '22 10:04 burdiyan

Hi @burdiyan. Yes, generics is something I want to add to this library and I'm open to accepting the changes if you want to contribute back. This repo is maintained although it's mostly "just worked" so I haven't had to do much maintenance. I've used it on a couple large production projects so it's been put through its paces. Generics have been the one feature I really wanted to see added since it'll help with memory allocation quite a bit in some cases.

benbjohnson avatar Apr 25 '22 13:04 benbjohnson

I guess this is not relevant anymore as it was implemented already.

burdiyan avatar Feb 14 '23 10:02 burdiyan