I don't think that the implementation here performs correctly... For example, the following: q := NewPrioq() q.In <- timestamp(20) q.In <- timestamp(10) q.In <- timestamp(30) o := <-q.Out fmt.Println("Read", o) Prints…
This (funny and accessible, don't worry) talk by Gary Bernhardt is what helped me understand asm.js for the first time: https://www.destroyallsoftware.com/talks/the-birth-and-death...
I'm hopeful that this will lead towards greater unification and innovation, but I can see why people are more likely to bring up "Embrace, Extend, Extinguish" when Microsoft does something compared to when other…
I'm not. Is there some performance penalty for using a struct over a 2 element array?
why would you a 2 element array of int here instead of defining a struct of 2 ints?
I don't think that the implementation here performs correctly... For example, the following: q := NewPrioq() q.In <- timestamp(20) q.In <- timestamp(10) q.In <- timestamp(30) o := <-q.Out fmt.Println("Read", o) Prints…
This (funny and accessible, don't worry) talk by Gary Bernhardt is what helped me understand asm.js for the first time: https://www.destroyallsoftware.com/talks/the-birth-and-death...
I'm hopeful that this will lead towards greater unification and innovation, but I can see why people are more likely to bring up "Embrace, Extend, Extinguish" when Microsoft does something compared to when other…
I'm not. Is there some performance penalty for using a struct over a 2 element array?
why would you a 2 element array of int here instead of defining a struct of 2 ints?