3 ms·
is Erlang and JDK general enough for you? Oh, both use linked lists, https://github.com/erlang/otp/blob/master/lib/stdlib/src/queue.erl#L55 https://github.com/
by waynesonfire 4y ago
is Erlang and JDK general enough for you? Oh, both use linked lists,
https://github.com/erlang/otp/blob/master/lib/stdlib/src/queue.erl#L55 https://github.com/erlang/otp/blob/master/lib/stdlib/src/que...
https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/share/classes/java/util/concurrent/LinkedBlockingQueue.java https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/...
- xxs 4y agowhy would your refer LinkedBlockingQueue? You have ArrayBlockingQueue, too. ArrayDeque is just better than LinkedList.