| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Book-keeping error only - although it does potentially initialise the PRNG
unnecessarily.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add `Seq` module, expose iterator conversions in most containers
* small typo
* typo
* change order of arguments for `{Map,Set}.add_seq`
* watch for max string length in `Bytes.of_seq`
* wip: make it build again
* Fix dependency
Sys needs to be linked before Bytes in stdlib.
* Update threads/stdlib.ml
* Update stdlib_no_prefixed/.depend
* fix inconsistencies with label modules
* update testsuite to work with seq
* update change file
* small change in `Hashtbl.to_seq`, capturing only the underlying array
* add some documentation to seq.mli
* revert to good ol' module type names for hashtables
* fix test
* change style of comments in seq.mli
* follow some demands in review of GPR #1002
* some fixes for #1002
* add Seq-related functions to Ephemeron
* add some comments on `Hashtbl.of_seq`
* add more tests for `Hashtbl.{to,of}_seq`
* fix bug in `Ephemeron.to_seq`
* Update Changes
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provide an xxx_opt alternative for functions raising Not_found
and many instances of Failure/Invalid_arg.
The only exception is the rarely used Buffer.add_substitute, where
the [Not_found] can really be interpreted as an error condition.
Most new functions are implemented directly (instead of wrapping the
raising version). This is for performance reasons and also to avoid
destroying the stacktrace (if the function is used in an exception
handler). One could instead implement the raising versions on top of
the new functions, but there might be a small penalty.
|
| |
|
|
|
|
| |
Remains to be done: remove all headers in testsuite/tests.
|
| |
|
|
|
|
|
| |
And use the tests for the classic hashtables for testing
the (non-weak) behavior of weak hashtables.
|
|
|
|
|
| |
The closed bug report is about classic hashtable but it is also
applicable for weak hashtable (thanks @signoles for the heads up)
|
|
|
|
| |
size not exact and infinite resizing
|
|
|
|
| |
An ugly obj_t is needed for the shadowing of Obj.t
|
|
|