Simon Cozens wrote: > > I've just committed some changes after which Parrot will not compile. > This is quite deliberate. Basically, I'm trying to get the keyed stuff > working the way we want, and that requires some painful changes to the > source. The upshot is: > > All the vtable functions _index and index_s are dead; they've been > removed from the vtable structure, and so things which expect to find > them won't compile. > I've added another multimethod, _keyed, which does their job. This > means the vtable structure has been rearranged, and everything depending > on it will break. > Arrays and hashes won't work at all until they're rewritten to use > keys instead of integer/string indices. > > I'm working on unbreaking it, patches welcome. > > -- > You are in a maze of little twisting passages, all different.
Well, the first set of patches have been committed. The following things still need to be done: 1) Move key.c's bucket functions to perlhash.pmc. 2) Rewrite perlhash.pmc class functions to use the proper hashing functions. 3) Rewrite global_setup.c to use PerlHash members 4) Rewrite core.ops to use the new get_{type}_keyed 5) Lots of testing. I can at least do #1 tonight, and maybe #2 over the weekend. I'll be available for about another week or so, then I'll be in the throes of changing jobs. -- Jeff <[EMAIL PROTECTED]>