Jeff G wrote: > > 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.
array and perlarray are done, perlhash should be done tonight. Moving code around was fairly simple, but I was interrupted before I could add perlhash to the CVS import. -- Jeff <[EMAIL PROTECTED]>