Commit Graph
478 Commits
Author SHA1 Message Date
Patrick Pelissier de45d61966 Add bench of map over string. 2017-07-08 17:13:02 +02:00
Patrick Pelissier e583625c78 Renumber the tests. 2017-07-08 15:33:10 +02:00
Patrick Pelissier 30484f4291 Factorisation. 2017-07-08 15:14:01 +02:00
Patrick Pelissier f8ff180b94 Prepare for conditionnal use of m-string by m-bitset. 2017-07-08 13:00:47 +02:00
Patrick Pelissier ec4c12eab5 Update comments. 2017-07-08 12:57:28 +02:00
Patrick Pelissier 5be073b9bd Fix comment. 2017-07-08 12:57:21 +02:00
Patrick Pelissier 2ef2dd1231 Add const to function definition. 2017-07-08 12:57:06 +02:00
Patrick Pelissier 138d3fe4eb Add const to function definition. 2017-07-08 12:56:57 +02:00
Patrick Pelissier e8781e2860 Add new possible const due to const added to array functions. 2017-07-07 23:03:43 +02:00
Patrick Pelissier 7d00caac83 Add const to iterators:
in fact, a const array for an iterator just means that it
 can't modify the order of the container (And that's what we want).
 It can still modify the pointed object.
2017-07-07 22:57:13 +02:00
Patrick Pelissier 64f3fc380e Update _insert prototype of array to match list _insert. 2017-07-07 22:53:42 +02:00
Patrick Pelissier f25a59c43c Update doc 2017-07-07 11:07:39 +02:00
Patrick Pelissier d3038cc758 Add _out_str, _in_str & _get_str to OA dict. 2017-07-06 23:14:26 +02:00
Patrick Pelissier 172df98c0d Add new example based on set and word counts. 2017-07-06 11:49:07 +02:00
Patrick Pelissier ac79b462fb Add missing contracts. 2017-07-06 11:48:52 +02:00
Patrick Pelissier 9e5e0a8a51 Add string_fget_word function. 2017-07-06 11:48:02 +02:00
Patrick Pelissier ffe164c09e Comment 2017-07-06 11:00:07 +02:00
Patrick Pelissier 987d50eba6 Improve prototype of fgets so that it handles better EOL.
Return true in case of something has been read.
2017-07-06 10:57:34 +02:00
Patrick Pelissier 2155df7d6f Fix bug detected by previous test. 2017-07-06 10:26:14 +02:00
Patrick Pelissier 4e55aca639 Add new test 2017-07-06 10:26:07 +02:00
Patrick Pelissier 93ff9c79b9 Rewrite comment (bis) 2017-07-06 10:20:13 +02:00
Patrick Pelissier 8bfb57cdb6 Rewrite comment 2017-07-06 10:19:57 +02:00
Patrick Pelissier c3114c439b Remove a contract from _clear since it has not to be true.
Add const to a proto.
2017-07-06 10:19:08 +02:00
Patrick Pelissier 5fae797e41 Do not increase size in _fgets if we reach the EOF. 2017-07-05 23:31:33 +02:00
Patrick Pelissier dbe24395f4 Add 'const' to _out_str & _equal_p
(==> rewrite the iteration loop)
2017-07-05 22:15:12 +02:00
Patrick Pelissier 75f0c94a59 Add seed example. 2017-07-05 21:58:03 +02:00
Patrick Pelissier 1dbc71c2a2 Update example 2017-07-05 18:04:15 +02:00
Patrick Pelissier af62fc7f5c Update example 2017-07-05 17:42:42 +02:00
Patrick Pelissier c464d62011 Add new example 2017-07-05 16:16:05 +02:00
Patrick Pelissier 6f21ee9098 Add TODO 2017-07-05 16:13:48 +02:00
Patrick Pelissier 91affebce7 Fix wrong name in exported OPLIST for dict's out_str, get_str & in_str 2017-07-05 16:13:26 +02:00
Patrick Pelissier d2006c6375 Update doc 2017-07-05 09:38:23 +02:00
Patrick Pelissier 76fc919ccb * Rename _slice into _splice.
* Rename _move_back into _splice_back
to uniform the interface.
2017-07-05 09:17:11 +02:00
Patrick Pelissier 8e203fac5e WIP 2017-07-05 09:16:48 +02:00
Patrick Pelissier 38413f2452 Fix #10 2017-07-04 23:36:18 +02:00
Patrick Pelissier b537ae6b5d Fix issue with C++ not performing like C... 2017-07-04 23:34:41 +02:00
Patrick Pelissier faaad909d3 Fix issue with C++ 2017-07-04 23:30:10 +02:00
Patrick Pelissier 75d8928da1 Remove TODO 2017-07-02 19:42:43 +02:00
Patrick Pelissier 373560f41e Update doc 2017-06-23 00:23:36 +02:00
Patrick Pelissier d382a1d0fa Add some eol to clean up representation 2017-06-23 00:23:18 +02:00
Patrick Pelissier 5c35411f43 Update TODO (priority queue needs their own headers). 2017-06-19 21:33:43 +02:00
Patrick Pelissier 1690e4a176 Describe new operators. 2017-06-19 21:27:17 +02:00
Patrick Pelissier 893c5b9f39 Update doc 2017-06-13 00:14:58 +02:00
Patrick Pelissier 985b9a04e4 Remove useless function set_empty.
clean is enough.
2017-06-13 00:14:40 +02:00
Patrick Pelissier 61bebd3cff Fix bugs in iterator of OA dict for next/previous. 2017-06-08 23:51:09 +02:00
Patrick Pelissier 4b50020f12 Fix bugs with OA dict. 2017-06-08 23:36:12 +02:00
Patrick Pelissier 305c7ed2c1 Add more tests. 2017-06-04 23:44:29 +02:00
Patrick Pelissier 8cfbe56945 Fix issue with M_PARENTHESIS_P
Add M_OPLIST_P
2017-06-04 23:43:05 +02:00
Patrick Pelissier 1d01212559 Update doc. 2017-06-02 00:26:44 +02:00
Patrick Pelissier 78de4bcfe3 Replace cast by assign cast. 2017-05-28 20:56:50 +02:00