stephenseo
  • Joined on 2021-04-30
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-30 06:35:47 +00:00
d815f67b2d Minor fix to doc comment about priority heap
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-30 06:34:02 +00:00
fbe62ba5b2 Impl. priority heap, minor tweaks/fixes
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-29 07:54:20 +00:00
ea919f3eb3 Add platforms.h header to determine platform
stephenseo commented on issue stephenseo/SimpleArchiver#5 2024-06-29 07:46:31 +00:00
Figure out per-file compression/decompression

Linux and MacOS have system available. Windows apparently has _spawn functions. It probably is ideal to use _spawnvpe which has args similar to Cosmopolitan's systemvpe.

stephenseo commented on issue stephenseo/SimpleArchiver#5 2024-06-29 07:35:29 +00:00
Figure out per-file compression/decompression

Can use https://justine.lol/cosmopolitan/documentation.html#systemvpe when using Cosmopolitan. Otherwise use system on Linux.

Apparently, the __COSMOPOLITAN__ macro is defined when compiled…

stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-29 07:14:12 +00:00
86a68eef83 Add action/workflow to run unit tests
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-29 07:01:45 +00:00
aa00131020 Update README.md
stephenseo opened issue stephenseo/SimpleArchiver#10 2024-06-28 10:39:30 +00:00
Revisit file format
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-28 10:36:21 +00:00
0a2aef0fd1 Fix cosmopolitan/Makefile missing files
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-28 09:19:54 +00:00
aa2a1bf583 Fix hashing in hash_map (hopefully finally)
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-28 09:18:30 +00:00
da72a2387f Fix hash_map hashing (hopefully the final time)
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-28 09:16:29 +00:00
c5b2ca6dff Fix hashing in hash_map
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-28 08:40:55 +00:00
d6878b0f1d Revert "Minor additions to unit test of data structures"
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-28 08:39:34 +00:00
f1bab48fb5 Minor additions to unit test of data structures
stephenseo closed issue stephenseo/SimpleArchiver#8 2024-06-28 08:35:21 +00:00
Impl. necessary data structures
stephenseo commented on issue stephenseo/SimpleArchiver#8 2024-06-28 08:35:21 +00:00
Impl. necessary data structures

Hash map implemented in 4d260e4a7b , the two planned data structures have now been implemented.

stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-28 08:33:11 +00:00
4d260e4a7b Impl. hash_map
stephenseo commented on issue stephenseo/SimpleArchiver#8 2024-06-28 04:56:23 +00:00
Impl. necessary data structures

Linked list implemented in 6ac7edbb3b . HashMap is next.

stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-28 04:55:52 +00:00
6ac7edbb3b Implement a linked list data structure
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-28 04:03:42 +00:00
5b60a2fe1b Create Makefile for building with cosmocc