Store pager history in UTF-8
Reduces storage requirement by a fator of 4 at the cost of some CPU usage, to encode to UTF-8
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ typedef struct {
|
||||
} HistoryBufSegment;
|
||||
|
||||
typedef struct {
|
||||
Py_UCS4 *buffer;
|
||||
uint8_t *buffer;
|
||||
size_t buffer_size, max_sz;
|
||||
size_t start, length;
|
||||
bool rewrap_needed;
|
||||
|
||||
Reference in New Issue
Block a user