gocommons

Common Go lang data structures, utilities, ML algorithms etc (by hishboy)

Gocommons Alternatives

Similar projects and alternatives to gocommons

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better gocommons alternative or higher similarity.

gocommons reviews and mentions

Posts with mentions or reviews of gocommons. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-21.
  • Memory efficient FIFO structure. Could it be that simple?
    4 projects | /r/golang | 21 Nov 2021
    I needed a memory efficient, performant and go-routine-safe queue ie FIFO data structure. To try not to reinvent the wheel I went on google in search of one. After a minute or two I found a slice based one and it served me well until I ran into one issue. When the queue was filled with millions of items and then emptied, I noticed that the memory allocation didn't decrease. So I tried to force GC but that didn't work. After more research and testing I could not reduce existing slice memory allocation without allocating new slice and copy any data remaining in the old one. That was not acceptable for a heavy trafficked queue. It cannot pause all reads and writes to wait for memory shuffling. So I went back on google and found this peace of code. Then I was like "Oh yea I know this from my CS class - a simple Singly Linked List. Haven't had a need to implement one since then."

Stats

Basic gocommons repo stats
1
144
10.0
over 8 years ago

The primary programming language of gocommons is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com