<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://jsimlo.sk/notepad/manual/wiki/index.php?action=history&amp;feed=atom&amp;title=Large_files</id>
	<title>Large files - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://jsimlo.sk/notepad/manual/wiki/index.php?action=history&amp;feed=atom&amp;title=Large_files"/>
	<link rel="alternate" type="text/html" href="https://jsimlo.sk/notepad/manual/wiki/index.php?title=Large_files&amp;action=history"/>
	<updated>2026-05-30T01:12:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://jsimlo.sk/notepad/manual/wiki/index.php?title=Large_files&amp;diff=6097&amp;oldid=prev</id>
		<title>Jsimlo at 20:34, 29 May 2026</title>
		<link rel="alternate" type="text/html" href="https://jsimlo.sk/notepad/manual/wiki/index.php?title=Large_files&amp;diff=6097&amp;oldid=prev"/>
		<updated>2026-05-29T20:34:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:34, 29 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l26&quot; &gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{tip}} When using Unicode version of TED Notepad to open ANSI files, set the {{field|Settings:File|Default encoding: UTF-8}} setting on the [[File page]] in the {{dialog|Settings}} dialog. This setting will allow UTF-8-compatible ANSI files (all ASCII-only files) to be loaded as UTF-8 files, noticeably speeding up the conversions. This is because a UTF-8 to Unicode conversion is a natural and fast operation, as opposed to an ANSI to Unicode conversion, which can be a lot slower.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{tip}} When using Unicode version of TED Notepad to open ANSI files, set the {{field|Settings:File|Default encoding: UTF-8}} setting on the [[File page]] in the {{dialog|Settings}} dialog. This setting will allow UTF-8-compatible ANSI files (all ASCII-only files) to be loaded as UTF-8 files, noticeably speeding up the conversions. This is because a UTF-8 to Unicode conversion is a natural and fast operation, as opposed to an ANSI to Unicode conversion, which can be a lot slower.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: TED Notepad can safely detect, whether the given ANSI file is actually UTF-8-compatible, and will only load it as UTF-8 file, if it can. It will fall back to ANSI to Unicode conversion, if the given file is not UTF-8-compatible.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: TED Notepad can safely detect, whether the given ANSI file is actually UTF-8-compatible, and will only load it as UTF-8 file, if it can. It will fall back to ANSI to Unicode conversion, if the given file is not UTF-8-compatible.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{tip}} When using ANSI version of TED Notepad to open ANSI files, set the {{field|Settings:File|Default encoding: ANSI}} setting on the [[File page]] in the {{dialog|Settings}} dialog to avoid unnecessary conversions.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Optimized tree text structure====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Optimized tree text structure====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jsimlo</name></author>
	</entry>
	<entry>
		<id>https://jsimlo.sk/notepad/manual/wiki/index.php?title=Large_files&amp;diff=6095&amp;oldid=prev</id>
		<title>Jsimlo: Created page with &quot;&lt;noinclude&gt;{{manversion|6.4.1.0|feature}}__NOTOC__&lt;/noinclude&gt;  Introducing a 64-bit version brings an opportunity to open, edit and save very big files. Testing (using NVMe d...&quot;</title>
		<link rel="alternate" type="text/html" href="https://jsimlo.sk/notepad/manual/wiki/index.php?title=Large_files&amp;diff=6095&amp;oldid=prev"/>
		<updated>2026-05-29T20:06:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;noinclude&amp;gt;{{manversion|6.4.1.0|feature}}__NOTOC__&amp;lt;/noinclude&amp;gt;  Introducing a 64-bit version brings an opportunity to open, edit and save very big files. Testing (using NVMe d...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{manversion|6.4.1.0|feature}}__NOTOC__&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Introducing a 64-bit version brings an opportunity to open, edit and save very big files.&lt;br /&gt;
Testing (using NVMe disk to avoid I/O skewing the results) has shown:&lt;br /&gt;
* '''2GB file loaded in 6 seconds''' in ANSI version, using 2.5G of memory&lt;br /&gt;
** 12 seconds in Unicode version, using 4.5G of memory.&lt;br /&gt;
* '''4GB file loaded in 12 seconds''' in ANSI version, using 5.0G of memory&lt;br /&gt;
** 26 seconds in Unicode version, using 9.0G of memory.&lt;br /&gt;
* '''8GB file loaded in 20 seconds''' in ANSI version, using 10.0G of memory&lt;br /&gt;
** 50 seconds in Unicode version, using 18.0G of memory.&lt;br /&gt;
&lt;br /&gt;
ANSI version of TED Notepad is best at opening files in the ANSI encoding.&lt;br /&gt;
There is no conversion, very little analysis needed, and only the bare amount of processing.&lt;br /&gt;
There was 25% memory overhead, used by internal structures: line index, keeping text in a tree structure to allow prompt editing, etc.&lt;br /&gt;
&lt;br /&gt;
Unicode version of TED Notepad is best at opening files in the UTF-8 encoding; or in the Unicode encoding with BOM.&lt;br /&gt;
The conversion of text is natural, only simple analysis is needed, and relatively low amount of processing necessary.&lt;br /&gt;
The overhead is bigger however, because Unicode text always requires 2 bytes per character,&lt;br /&gt;
even if the characters can be stored at 1 byte per character in UTF-8 encoding.&lt;br /&gt;
&lt;br /&gt;
Therefore, when working with very large files, unless Unicode characters are present in the text,&lt;br /&gt;
the ANSI version of TED Notepad provides clear advantages in both loading speed and memory usage.&lt;br /&gt;
However, when Unicode characters are present in the text, and cannot be converted into local ANSI encoding,&lt;br /&gt;
the ANSI version of TED Notepad cannot be used.&lt;br /&gt;
&lt;br /&gt;
{{tip}} When using Unicode version of TED Notepad to open ANSI files, set the {{field|Settings:File|Default encoding: UTF-8}} setting on the [[File page]] in the {{dialog|Settings}} dialog. This setting will allow UTF-8-compatible ANSI files (all ASCII-only files) to be loaded as UTF-8 files, noticeably speeding up the conversions. This is because a UTF-8 to Unicode conversion is a natural and fast operation, as opposed to an ANSI to Unicode conversion, which can be a lot slower. &lt;br /&gt;
Note: TED Notepad can safely detect, whether the given ANSI file is actually UTF-8-compatible, and will only load it as UTF-8 file, if it can. It will fall back to ANSI to Unicode conversion, if the given file is not UTF-8-compatible.&lt;br /&gt;
&lt;br /&gt;
====Optimized tree text structure====&lt;br /&gt;
&lt;br /&gt;
TED Notepad utilizes special tree structure to keep the text promptly ready for editting.&lt;br /&gt;
The tree can take a lot more than 8GB of text without slowing down the editor, including typing new text or scrolling around.&lt;/div&gt;</summary>
		<author><name>Jsimlo</name></author>
	</entry>
</feed>