summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LICENSE.txt10
-rw-r--r--ReleaseNotes.md11
-rw-r--r--go.mod2
-rw-r--r--go.sum4
4 files changed, 19 insertions, 8 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
index 55535ad..1a2eecf 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -2,21 +2,21 @@ lowmemjson - A streaming json library with minimal memory footprint
Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com>
Copyright (C) 2010-2021 The Go Authors
-This program is free software; you can redistribute it and/or modify
+This library is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
-This program is distributed in the hope that it will be useful, but
+This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
-Along with this program, you should have received a copy of the GNU
-General Public License (in the "LICENSE.gpl-2.0.txt" file). If not,
+You should have received a copy of the GNU General Public License
+along with this library (in the "LICENSE.gpl-2.0.txt" file). If not,
see <https://www.gnu.org/licenses/>.
-Parts of the program (the files starting with "borrowed_") are adapted
+Parts of the library (the files starting with "borrowed_") are adapted
from the Go standard library, and are subject to the terms of the
3-clause BSD license later in this file.
diff --git a/ReleaseNotes.md b/ReleaseNotes.md
index f1fccfb..5e176c4 100644
--- a/ReleaseNotes.md
+++ b/ReleaseNotes.md
@@ -1,3 +1,14 @@
+# v0.3.1 (2023-01-31)
+
+ Theme: Performance
+
+ This release does a bunch of performance tuning and optimizations,
+ with no user-visible changes other than memory consumption and CPU
+ time. Based on benchmarks with a real-world use-case, it is now
+ roughly an order of magnitude faster, with much lower memory
+ consumption (the big-O of memory consumption was always pretty low,
+ but there were some big constant factors before).
+
# v0.3.0 (2023-01-30)
Theme: Breaking changes
diff --git a/go.mod b/go.mod
index 452d2ff..6d5804b 100644
--- a/go.mod
+++ b/go.mod
@@ -3,7 +3,7 @@ module git.lukeshu.com/go/lowmemjson
go 1.18
require (
- git.lukeshu.com/go/typedsync v0.0.0-20230126205501-1e8afc0ceb1e
+ git.lukeshu.com/go/typedsync v0.1.0
github.com/stretchr/testify v1.8.0
)
diff --git a/go.sum b/go.sum
index 76cf271..c33dd6e 100644
--- a/go.sum
+++ b/go.sum
@@ -1,5 +1,5 @@
-git.lukeshu.com/go/typedsync v0.0.0-20230126205501-1e8afc0ceb1e h1:ZAzzElMx7aMgJXC9QXOxIPyoZrWxX00eP2sR4UHYP+4=
-git.lukeshu.com/go/typedsync v0.0.0-20230126205501-1e8afc0ceb1e/go.mod h1:EAn7NcfoGeGMv3DWxKQnifcT/rYPAIEqp9Rsz//oYqY=
+git.lukeshu.com/go/typedsync v0.1.0 h1:BYv123nWCymA3zZpokP6nDdtNQ6p7Q51hSWGno/U3Dc=
+git.lukeshu.com/go/typedsync v0.1.0/go.mod h1:EAn7NcfoGeGMv3DWxKQnifcT/rYPAIEqp9Rsz//oYqY=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=