wk8 / go-ordered-map

Optimal implementation of ordered maps for Golang - ie maps that remember the order in which keys were inserted.
Apache License 2.0
534 stars 40 forks source link

Naming and Function Request #10

Closed justincpresley closed 1 year ago

justincpresley commented 2 years ago

Functions:

I know that Oldest() and Newest() are to be more akin to python's OrderedDicts, but I do find them to be more confusing especially when you start re-arranging the order and when a certain map has been existing for awhile. Perhaps adding the other functions that act like them will make code a little more clear.

wk8 commented 2 years ago

Hi @justincpresley , I always welcome PRs. Thanks.

wk8 commented 1 year ago

Closing due to inactivity.