|
Revision 8607, 2.1 KB
(checked in by westram, 5 weeks ago)
|
|
merge from e4fix [8135] [8136] [8137] [8138] [8139] [8140] [8141] [8142] [8143] [8144] [8222]
this revives the reverted patches [8129] [8130] [8131] [8132]
- fixes
- some free/delete mismatches
- wrong definition of ORF objects (Level was no bit value)
- amino consensus (failed for columns only containing 'C')
- rename
- AA_sequence_term -> orf_term
- ED4_sequence_terminal_basic -> ED4_abstract_sequence_terminal
- cleaned up hierarchy dumps
- tweaked is_terminal()/to_terminal()
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | // =============================================================== // |
|---|
| 2 | // // |
|---|
| 3 | // File : adtune.cxx // |
|---|
| 4 | // Purpose : // |
|---|
| 5 | // // |
|---|
| 6 | // Institute of Microbiology (Technical University Munich) // |
|---|
| 7 | // http://www.arb-home.de/ // |
|---|
| 8 | // // |
|---|
| 9 | // =============================================================== // |
|---|
| 10 | |
|---|
| 11 | #include <gb_tune.h> |
|---|
| 12 | |
|---|
| 13 | #define KB 1024 |
|---|
| 14 | #define MB 1024 * KB |
|---|
| 15 | |
|---|
| 16 | const int GBCM_BUFFER = 8192; // The communication buffer size |
|---|
| 17 | const int GB_REMOTE_HASH_SIZE = 0x40000; // The initial hash size in any client to find the database entry in the server |
|---|
| 18 | const int GBM_MAX_UNINDEXED_ENTRIES = 64; // The maximum number fields with the same key which are not put together in one memory segment |
|---|
| 19 | |
|---|
| 20 | const int GB_TOTAL_CACHE_SIZE = 50*MB; // Initial cache size in bytes |
|---|
| 21 | const int GB_MAX_CACHED_ENTRIES = 16384; // maximum number of cached items (Maximum 32000) |
|---|
| 22 | |
|---|
| 23 | const int GB_MAX_QUICK_SAVE_INDEX = 99; // Maximum extension-index of quick saves (Maximum 99) |
|---|
| 24 | const int GB_MAX_QUICK_SAVES = 10; // maximum number of quick saves |
|---|
| 25 | |
|---|
| 26 | const int GB_MAX_LOCAL_SEARCH = 256; // Maximum number of children before doing a search in the database server |
|---|
| 27 | |
|---|
| 28 | const int GBTUM_SHORT_STRING_SIZE = 128; // the maximum strlen which is stored in short string format |
|---|
| 29 | const int GB_HUFFMAN_MIN_SIZE = 128; // min length, before huffmann code is used |
|---|
| 30 | const int GB_RUNLENGTH_MIN_SIZE = 64; // min length, before runlength code is used |
|---|
| 31 | |
|---|
| 32 | const int GB_MAX_REDO_CNT = 10; // maximum number of redos |
|---|
| 33 | const int GB_MAX_UNDO_CNT = 100; // maximum number of undos |
|---|
| 34 | const int GB_MAX_UNDO_SIZE = 20*MB; // total bytes used for undo |
|---|