src/Pure/General/bytes.scala
Wed, 12 Feb 2025 00:40:57 +0100 wenzelm removed unused imports;
Fri, 05 Jul 2024 13:46:13 +0200 wenzelm tuned signature: expose internal limits for testing or add-on implementations;
Fri, 05 Jul 2024 13:41:01 +0200 wenzelm tuned;
Fri, 05 Jul 2024 13:38:35 +0200 wenzelm tuned;
Fri, 05 Jul 2024 13:36:49 +0200 wenzelm tuned;
Fri, 05 Jul 2024 12:53:45 +0200 wenzelm clarified signature;
Fri, 05 Jul 2024 11:38:21 +0200 wenzelm prefer official UTF-8 decoding (in contrast to 2541de190d92): this is also more efficient (factor 10-20);
Thu, 04 Jul 2024 19:16:12 +0200 wenzelm tuned comments;
Wed, 03 Jul 2024 21:11:53 +0200 wenzelm clarified signature, following 43323d886ea3;
Wed, 03 Jul 2024 20:59:30 +0200 wenzelm clarified signature: more direct operation;
Wed, 03 Jul 2024 20:35:10 +0200 wenzelm clarified signature: more direct Bytes.raw and subsequent UTF-8 default decoding;
Wed, 03 Jul 2024 20:18:36 +0200 wenzelm clarified signature;
Wed, 03 Jul 2024 10:07:39 +0200 wenzelm tuned signature;
Tue, 02 Jul 2024 23:13:35 +0200 wenzelm clarified YXML.Source: more direct support for String and Bytes, instead of CharSequence;
Tue, 02 Jul 2024 22:38:00 +0200 wenzelm more specialized operations;
Tue, 02 Jul 2024 16:36:49 +0200 wenzelm misc tuning: more uniform read_stream vs. read_file;
Tue, 02 Jul 2024 16:15:50 +0200 wenzelm proper limit for read operation (amending ac4d53bc8f6b);
Thu, 27 Jun 2024 00:11:53 +0200 wenzelm minor performance tuning;
Thu, 27 Jun 2024 00:01:01 +0200 wenzelm performance tuning: multi-stage buffer with fewer array copies;
Sun, 16 Jun 2024 18:50:17 +0200 wenzelm clarified signature;
Sun, 16 Jun 2024 18:41:57 +0200 wenzelm Base64: proper support for large Bytes, with subtle change of types (Bytes instead of String);
Sun, 16 Jun 2024 14:21:57 +0200 wenzelm clarified sizes;
Sun, 16 Jun 2024 14:19:51 +0200 wenzelm more scalable stream read operations;
Sun, 16 Jun 2024 11:59:16 +0200 wenzelm minor performance tuning;
Sun, 16 Jun 2024 11:50:42 +0200 wenzelm tuned module structure;
Sun, 16 Jun 2024 11:41:22 +0200 wenzelm tuned names;
Sun, 16 Jun 2024 11:28:47 +0200 wenzelm imitate internal policy of ByteArrayOutputStream: capacity is doubled after first push;
Sat, 15 Jun 2024 23:52:30 +0200 wenzelm tuned whitespace;
Sat, 15 Jun 2024 23:49:06 +0200 wenzelm unused;
Sat, 15 Jun 2024 23:47:04 +0200 wenzelm Bytes.Builder is unsynchronized, like java.io.OutputBuffer;
Sat, 15 Jun 2024 23:24:24 +0200 wenzelm notable performance tuning: avoid overhead of higher-order functions;
Sat, 15 Jun 2024 22:43:01 +0200 wenzelm more efficient equals: avoid somewhat slow sha1_digest (see also 29b761e290c5, 306f273c91ec);
Sat, 15 Jun 2024 21:59:31 +0200 wenzelm more scalable compression, using Bytes.Builder.Stream;
Sat, 15 Jun 2024 21:52:14 +0200 wenzelm tuned: more uniform, less ambitious;
Sat, 15 Jun 2024 21:07:23 +0200 wenzelm tuned;
Sat, 15 Jun 2024 20:49:15 +0200 wenzelm minor performance tuning;
Sat, 15 Jun 2024 20:44:09 +0200 wenzelm minor performance tuning;
Sat, 15 Jun 2024 20:30:31 +0200 wenzelm minor performance tuning;
Sat, 15 Jun 2024 20:17:43 +0200 wenzelm tuned;
Sat, 15 Jun 2024 20:14:53 +0200 wenzelm tuned;
Sat, 15 Jun 2024 20:14:24 +0200 wenzelm clarified signature;
Sat, 15 Jun 2024 17:16:14 +0200 wenzelm minor performance tuning;
Sat, 15 Jun 2024 17:12:49 +0200 wenzelm support large byte arrays, using multiple "chunks";
Thu, 13 Jun 2024 15:08:24 +0200 wenzelm tuned;
Wed, 12 Jun 2024 22:09:16 +0200 wenzelm clarified hash and equality: depend on sha1 digest to be collision-free;
Wed, 12 Jun 2024 21:59:44 +0200 wenzelm clarified signature;
Wed, 12 Jun 2024 21:56:01 +0200 wenzelm tuned source structure;
Wed, 12 Jun 2024 21:44:30 +0200 wenzelm tuned signature;
Wed, 12 Jun 2024 21:40:13 +0200 wenzelm minor performance tuning;
Wed, 12 Jun 2024 16:58:55 +0200 wenzelm proper sha1_digest: need to include offset + length;
Tue, 11 Jun 2024 21:32:26 +0200 wenzelm clarified signature: pro-forma support for Bytes with size: Long;
Tue, 11 Jun 2024 16:48:20 +0200 wenzelm minor performance tuning;
Tue, 11 Jun 2024 16:39:53 +0200 wenzelm clarified signature (again);
Tue, 11 Jun 2024 16:32:10 +0200 wenzelm clarified signature: discontinue somewhat misleading Bytes <: CharSequence;
Tue, 11 Jun 2024 16:02:33 +0200 wenzelm minor performance tuning;
Tue, 11 Jun 2024 15:49:39 +0200 wenzelm clarified signature: more accurate types;
Tue, 11 Jun 2024 14:18:19 +0200 wenzelm clarified signature;
Sun, 21 Jan 2024 14:05:14 +0100 wenzelm clarified signature: explicit type isabelle.Url to avoid oddities of java.net.URL (e.g. its "equals" method);
Sun, 21 Jan 2024 13:18:05 +0100 wenzelm unused;
Sun, 12 Nov 2023 12:26:08 +0100 wenzelm tuned signature: more operations;
Sat, 11 Nov 2023 22:17:14 +0100 wenzelm proper check_file operation via File.space (amending 6ad3a412ed97 --- broken in Isabelle2023);
Sat, 11 Nov 2023 22:14:38 +0100 wenzelm clarified signature;
Sat, 28 Oct 2023 19:13:02 +0200 wenzelm prefer old-style import "=>";
Sun, 02 Jul 2023 19:05:59 +0200 wenzelm tuned: prefer Scala over Java;
Thu, 22 Jun 2023 14:51:37 +0200 wenzelm more operations;
Sun, 26 Mar 2023 19:51:35 +0200 wenzelm clarified signature;
Sun, 26 Mar 2023 19:36:00 +0200 wenzelm tuned signature;
Sun, 26 Mar 2023 19:31:05 +0200 wenzelm tuned output;
Sun, 26 Mar 2023 15:02:08 +0200 wenzelm tuned;
Sun, 26 Mar 2023 14:45:28 +0200 wenzelm tuned output;
Sun, 26 Mar 2023 14:36:47 +0200 wenzelm tuned performance: much faster low-level operation;
Sun, 26 Mar 2023 14:24:38 +0200 wenzelm clarified signature: more general operation Bytes.read_slice;
Sat, 22 Oct 2022 16:56:17 +0200 wenzelm tuned: avoid redundant copy of potentially large array;
Fri, 21 Oct 2022 21:39:38 +0200 wenzelm clarified signature;
Fri, 21 Oct 2022 18:06:32 +0200 wenzelm clarified signature;
Fri, 21 Oct 2022 16:39:31 +0200 wenzelm generic support for XZ and Zstd compression in Isabelle/Scala;
Fri, 21 Oct 2022 14:45:13 +0200 wenzelm clarified signature: default cache is actually dummy and not changed dynamically;
Sat, 01 Oct 2022 21:13:45 +0200 wenzelm clarified signature: more operations;
Wed, 27 Jul 2022 13:13:59 +0200 wenzelm clarified while-loops;
Sat, 25 Jun 2022 13:19:15 +0200 wenzelm clarified modules;
Wed, 22 Jun 2022 13:42:30 +0200 wenzelm clarified signature;
Wed, 22 Jun 2022 11:23:53 +0200 wenzelm tuned signature;
Wed, 22 Jun 2022 11:09:31 +0200 wenzelm clarified types and defaults;
Tue, 21 Jun 2022 23:27:26 +0200 wenzelm support XZ compression in Isabelle/ML;
Fri, 01 Apr 2022 17:06:10 +0200 wenzelm clarified formatting, for the sake of scala3;
Thu, 31 Mar 2022 22:40:34 +0200 wenzelm tuned: eliminted do-while for the sake of scala3;
Mon, 12 Apr 2021 22:57:39 +0200 wenzelm support for base64 via Isabelle/Scala/ML;
Mon, 12 Apr 2021 12:16:49 +0200 wenzelm clarified signature: Bytes extends CharSequence already (see d201996f72a8);
Sun, 11 Apr 2021 22:47:55 +0200 wenzelm more uniform use of Byte_Message;
Sat, 10 Apr 2021 20:22:07 +0200 wenzelm tuned;
Fri, 12 Mar 2021 19:42:18 +0100 wenzelm more robust;
Sat, 02 Jan 2021 15:58:48 +0100 wenzelm clarified signature --- internal Cache.none;
Sat, 12 Dec 2020 12:45:21 +0100 wenzelm accommodate OpenJDK 15;
Sat, 23 Nov 2019 11:28:15 +0100 wenzelm more robust: file length can be invalid in odd situations;
Sat, 23 Nov 2019 11:19:18 +0100 wenzelm tuned;
Wed, 12 Dec 2018 17:34:29 +0100 wenzelm more uniform multi-language operations;
Tue, 11 Dec 2018 19:25:35 +0100 wenzelm more uniform multi-language operations;
Mon, 03 Dec 2018 14:59:42 +0100 wenzelm static type for Library.using: avoid Java 11 warnings on "Illegal reflective access";
Wed, 28 Nov 2018 15:38:18 +0100 wenzelm avoid loading of font file, to eliminate "Illegal reflective access by com.lowagie.text.pdf.MappedRandomAccessFile$1 (iText-2.1.5.jar) to method java.nio.DirectByteBuffer.cleaner()" -- due to com.lowagie.text.pdf.TrueTypeFont.process() / RandomAccessFileOrArray;
Sun, 13 May 2018 16:26:01 +0200 wenzelm clarified implicit compression;
Fri, 11 May 2018 20:05:37 +0200 wenzelm clarified output: avoid costly operations on huge blobs;
Fri, 11 May 2018 19:59:05 +0200 wenzelm unused;
Mon, 07 May 2018 23:08:22 +0200 wenzelm more operations;
Mon, 07 May 2018 19:40:55 +0200 wenzelm return exports as result for Isabelle server;
Sun, 06 May 2018 23:30:34 +0200 wenzelm more operations;
Sat, 05 May 2018 21:44:18 +0200 wenzelm hexadecimal representation of byte string;
Fri, 20 Apr 2018 22:17:42 +0200 wenzelm support for XZ.Cache;
Sat, 10 Mar 2018 11:55:54 +0100 wenzelm more uniform Bytes.read_line/read_block operations;
Sat, 29 Apr 2017 10:50:48 +0200 wenzelm more operations;
Thu, 16 Mar 2017 23:26:16 +0100 wenzelm clarified signature (again, see also 3ed43cfc8b14);
Tue, 28 Feb 2017 17:51:49 +0100 wenzelm more operations;
Mon, 24 Oct 2016 12:16:12 +0200 wenzelm discontinued unused / untested distinction of separate PIDE modules;
Sat, 15 Oct 2016 20:47:31 +0200 wenzelm more operations;
Sat, 15 Oct 2016 15:23:06 +0200 wenzelm clarified treatment of non-text bytes;
Mon, 03 Oct 2016 12:39:03 +0200 wenzelm clarified magic values (see also java/io/BufferedInputStream.java);
Mon, 03 Oct 2016 12:28:36 +0200 wenzelm clarified stream operations;
Mon, 03 Oct 2016 10:49:27 +0200 wenzelm more general read_stream: return actual byte count;
Sun, 04 Sep 2016 17:38:22 +0200 wenzelm more operations;
Sun, 06 Mar 2016 11:59:35 +0100 wenzelm tuned signature;
Thu, 30 Jul 2015 11:32:58 +0200 wenzelm provide CharSequence operations as well;
less more (0) -120 tip