From 1b232c720d4a767f8383bee6905d924e5a6388ff Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Wed, 3 Jul 2024 13:08:59 -0500 Subject: [PATCH 1/3] explicitly ordered table --- src/zippy/ziparchives.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zippy/ziparchives.nim b/src/zippy/ziparchives.nim index 60ec564..2fe5e70 100644 --- a/src/zippy/ziparchives.nim +++ b/src/zippy/ziparchives.nim @@ -27,7 +27,7 @@ type ZipArchiveReader* = ref object memFile: MemFile - records: Table[string, ZipArchiveRecord] + records: OrderedTable[string, ZipArchiveRecord] iterator walkFiles*(reader: ZipArchiveReader): string = ## Walks over all files in the archive and returns the file name From 1a94bb7a9974d270b5e4bf80ee7ec1a1dd26ac2b Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Wed, 3 Jul 2024 13:09:04 -0500 Subject: [PATCH 2/3] 0.10.14 --- zippy.nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zippy.nimble b/zippy.nimble index a468c8e..d52f511 100644 --- a/zippy.nimble +++ b/zippy.nimble @@ -1,4 +1,4 @@ -version = "0.10.13" +version = "0.10.14" author = "Ryan Oldenburg" description = "Pure Nim implementation of deflate, zlib, gzip and zip." license = "MIT" From 427a9f626fd547a85348d3baf55480169106a4b8 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Wed, 3 Jul 2024 13:24:11 -0500 Subject: [PATCH 3/3] lto janky af --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f411c4b..1a90c98 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: nim-version: ${{ matrix.nim-version }} repo-token: ${{ secrets.GITHUB_TOKEN }} - run: nimble test -d:release -y - - run: nimble test -d:release -d:lto -y + # - run: nimble test -d:release -d:lto -y - run: nimble test --gc:orc -d:release -y if: ${{ matrix.gc_orc }} - run: nim cpp -d:release -r tests/all.nim