1
0
Fork 0
Commit Graph

21 Commits

Author SHA1 Message Date
Frank Celler 6936972d08 updated disclaimer 2014-06-20 16:41:35 +02:00
Jan Steemann 282f510e34 fixed race conditions 2014-04-04 14:57:14 +02:00
Jan Steemann 17bf8ebafb fixed VS warnings 2014-04-03 16:13:56 +02:00
Max Neunhoeffer dde446fb28 Optimise hash tables by no longer using % for wraparound. 2014-03-24 14:04:24 +01:00
Jan Steemann 2aef412cd4 use sizeHint for hash index, too 2014-03-21 22:59:41 +01:00
Jan Steemann 50efbd1243 optimisation for empty arrays 2013-09-26 12:58:19 +02:00
Jan Steemann 467a236187 re-added cache for HTTP authentication data 2013-09-26 11:26:34 +02:00
Jan Steemann 5c0fd200f7 more OOM awareness 2013-09-19 08:44:12 +02:00
Jan Steemann 8a996c5b60 less dependency on regex.h, also fixes some speed problems for key validation 2013-09-19 08:20:35 +02:00
Jan Steemann 2eb0871813 updated TODOs 2013-09-12 18:46:19 +02:00
Jan Steemann 74489d9f93 OOM handling 2013-07-02 17:33:31 +02:00
Guido Reina 2f4319b31a [Small improvements] In the function ResizeAssociativeArray(), array->_table is already initialized to '\0's, so there is no need to call clearElement() for each element.
An associative array is only used by PQIndex and MasterTable_t.
For PQIndex the function ClearElementPQIndex() will be used, which sets the whole element to '\0's.
For MasterTable_t the function tablePositionClearElement() will be used, which sets all but one field to 0/NULL (the only field which is not set is _vectorNum).
If the clearElement() should be called, maybe TRI_Allocate() could be called with false, to avoid double initialization.
When copying elements, the for loop stops when the number of elements is the same as the original number of elements.

In the function TRI_FindByKeyAssociativeArray(), there is no need to check whether the element is not empty and is equal key element, only if it is not empty (as it is done in the function TRI_InsertKeyAssociativeArray()).
In the function TRI_FindByElementAssociativeArray(), there is no need to check whether the element is not empty and is equal element element, only if it is not empty (as it is done in the function TRI_InsertElementAssociativeArray()).
2013-05-05 18:10:37 +02:00
Jan Steemann f6c4589852 fixed type 2013-04-16 11:39:07 +02:00
Frank Celler f810711a79 FreeBSD port 2013-04-02 18:43:10 +02:00
Frank Celler 1aa5109fa3 updated disclaimer 2013-03-13 17:03:18 +01:00
Jan Steemann 17530a5e45 added number of shapes in return value of figures() 2013-01-25 10:19:02 +01:00
Jan Steemann 59791248bf some refactoring of v8-vocbase, trx integration 2012-11-06 19:02:09 +01:00
Jan Steemann 2369bc5bee disable internal statistics by default 2012-10-16 17:34:05 +02:00
Oreste Panaia 2a71a3c371 minor changes for windows compatability 2012-09-28 17:34:22 +08:00
Jan Steemann 1ef35bab96 added comment 2012-09-07 16:52:08 +02:00
Frank Celler d2c758d663 the great rename 2012-06-08 15:01:25 +02:00