Join Slack
Powered by
If I change my `IntQueue` into a `Queue<T>` ...
# advent-of-code
k
karelpeeters
12/09/2018, 9:08 PM
If I change my
IntQueue
into a
Queue<T>
the first iteration is indeed way slower, but after a couple it's about the same, primitive
140ms
and boxed
160ms
. Cool how the JVM is apparently able to optimize most of that.
3
Views
Open in Slack
Previous
Next