Burgestrand / spotify

Low-level Ruby bindings for libspotify, the official Spotify C API
https://rubygems.org/gems/spotify
Other
147 stars 17 forks source link

Identity map for managed pointers #18

Open Burgestrand opened 10 years ago

Burgestrand commented 10 years ago

libspotify uses an identity map internally, so for example retrieving a track by a link will return the same pointer.

An idea is for Spotify to do the same. Not sure if it would be very useful though...! :)