glfw/glfw — pull request #286 by zeux (2014-05-02 05:43:02+00:00)
Title: Optimize _glfwInitJoysticks on OSX

This function used to enumerate all devices and capture all properties
of every device into a dictionary. This takes 180 ms on a MacBook Pro
without external devices and 280 ms with an external keyboard/mouse
attached.

Since we're only interested in a few properties, we can just get them
one by one - this reduces the time to <1 ms.