10:39:39beachIf you care about performance, using a vector would be better.
10:40:24White_Flameit would have to use a different algorith, though
10:40:27tempateAt the moment performance is not one of my priorities
10:40:47tempateIt would make more sense to make hit a method, right?
10:40:48beachWhite_Flame: Right, you wouldn't use DELETE.
10:41:53White_Flameyou could add a count to the class to cache the length, so you don't have to recompute it, which would be a fairly easy optimizatin
10:41:58beachtempate: It would be a generic function, but it might be overkill for this problem.
10:43:38tempatewhat are the differences between C++ classes and Lisp's?
10:43:50tempateWhite_Flame: oh, right. Let me try to do that.
10:45:31beachtempate: Common Lisp classes don't have methods in them. Encapsulation is accomplished with an orthogonal mechanism known as "packages".
10:46:49White_Flame(and packages aren't really "encapsulation" because you can always still poke into them; there's no real data hiding in CL, besides closures (and you can use implementation tools to poke into those, too))