Branch: Tag:


2001-12-10 02:08:17 by Martin Stjernholm <>

Multiset implementation using rbtree. --with-new-multisets required to
enable it. There's still no glue to use most of the new features, except
that the iterator (and foreach) works without locking the multiset index,
and that multiset data blocks use copy-on-write (just like mappings).

Rev: src/acconfig.h:1.94
Rev: src/builtin.cmod:1.71
Rev: src/builtin_functions.c:1.416
Rev: src/
Rev: src/docode.c:1.137
Rev: src/encode.c:1.133
Rev: src/gc.c:1.178
Rev: src/interpret.c:1.253
Rev: src/iterators.cmod:1.15
Rev: src/main.c:1.138
Rev: src/multiset.c:1.40
Rev: src/multiset.h:1.20
Rev: src/opcodes.c:1.117
Rev: src/operators.c:1.143
Rev: src/pike_types.c:1.183

1: - AC_REVISION("$Id:,v 1.561 2001/12/07 12:01:07 grubba Exp $") + AC_REVISION("$Id:,v 1.562 2001/12/10 02:08:13 mast Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
1087:    [enable experimental code for multicpu machines (EXPERIMENTAL).]),    [],[AC_DEFINE(PIKE_RUN_UNLOCKED)])    + MY_AC_ARG_WITH(new-multisets, +  MY_DESCR([--with-new-multisets], +  [enable new multiset implementation (EXPERIMENTAL).]), +  [AC_DEFINE(PIKE_NEW_MULTISETS)],[]) +    # This makes configure default to --without-Perl   # Remove this when the Perl module stops crashing and hanging. -Hubbe   AC_ARG_WITH(perl, MY_DESCR([--with-perl],