[erlang-bugs] documentation bug (?)

Paul Mineiro paul-trapexit@REDACTED
Sun Jun 8 06:59:42 CEST 2008


the dets documentation about init_table says:

"If the type of the table is set and there is more than one object with a
given key, one of the objects is chosen. This is not necessarily the last
object with the given key in the sequence of objects returned by the input
functions. Extra objects should be avoided, or the file will be
unnecessarily fragmented. This holds also for duplicated objects stored in
tables of type duplicate_bag."

having stared at this for a while, i think it should say: "... holds also
for duplicated objects stored in tables of type bag".[1]

even clearer would be: "... input functions.  Duplicate keys
should be avoided, or the file will be unnecessarily fragmented.  This
holds also for duplicated objects stored in tables of type bag."

-- p



More information about the erlang-bugs mailing list