BLOG

Notes from the KAYAC hyper-casual team

Tag: Algorithms (2)

  • Takashi Hirayama

    When to Use a Linked List (LinkedList)

    A concrete case where arrays and dictionaries are not enough: a download queue that must keep insertion order and allow canceling from the middle, solved with a dictionary plus a linked list, then made allocation-free as an intrusive linked list, with a rundown of the data structures I keep in my toolbox.

  • Takashi Hirayama

    What I Wondered About When I Wanted to Use Random Numbers from Threads in Unity

    A comparison of random number generators that can be used from threads in Unity (System.Random, MWC, XorShift, and the XorShift128 said to be inside UnityEngine.Random): their speed, their randomness as images and in the gorilla test, and their memory use.