A ref-counted data structure organized how, for what language? Integers are really easy to work with.

(Perhaps I misunderstood your post.)

On Mon, Mar 21, 2016 at 8:07 PM, Dan Cross <crossd@gmail.com> wrote:
This came up today at work; what's the origin of the open file table? The suggestion was made that, instead, a ref-counted data structure could be allocated at open() time to serve the same purpose, and that a table of open files was superfluous. My guess was that this made it (relatively) easy to look up what files referred to a particular device?