Browse code

core: pv - default number of buffer slots set to 40

- it was 10
- allow handling more chained evaluations in large strings

(cherry picked from commit c087b1d1dd06a1fd417998fe0a51dedcfe02e8c6)
(cherry picked from commit 352af1b5a878daf90e16f5ae012f5ecb87fabbff)

Daniel-Constantin Mierla authored on 07/06/2018 08:10:36
Showing 1 changed files
... ...
@@ -1950,7 +1950,7 @@ static char **_pv_print_buffer = NULL;
1950 1950
 static int _pv_print_buffer_size  = PV_DEFAULT_PRINT_BUFFER_SIZE;
1951 1951
 static int _pv_print_buffer_size_active  = 0;
1952 1952
 /* 6 mod params + 4 direct usage from mods */
1953
-#define PV_DEFAULT_PRINT_BUFFER_SLOTS 10
1953
+#define PV_DEFAULT_PRINT_BUFFER_SLOTS 40
1954 1954
 static int _pv_print_buffer_slots = PV_DEFAULT_PRINT_BUFFER_SLOTS;
1955 1955
 static int _pv_print_buffer_slots_active = 0;
1956 1956
 static int _pv_print_buffer_index = 0;