From 64d17410a425dcba4f81e5a40fcc05351013bb46 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Mon, 15 Jun 2015 12:15:33 +0200 Subject: [PATCH] Improve foldline() performance This improves the foldline performance, especially for large strings like base64-encoded inline attachements. In some cases (1MB string) from 7 Minutes to less than 20ms for ASCII data and 500ms for non-ASCII data. Ref: #163. --- CHANGES.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index b61f57c..f23e5d8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,7 +5,11 @@ Changelog 3.9.1 (unreleased) ------------------ -- Nothing changed yet. +- Improve foldline() performance. This improves the foldline performance, + especially for large strings like base64-encoded inline attachements. In some + cases (1MB string) from 7 Minutes to less than 20ms for ASCII data and 500ms + for non-ASCII data. Ref: #163. + [emfree] 3.9.0 (2015-03-24)