stephenseo
  • Joined on 2021-04-30
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-07-01 06:14:54 +00:00
3172920c9c Some work on arg parser
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-30 11:03:37 +00:00
467c09a0e4 Fix unit test for priority heap
stephenseo pushed to main at stephenseo/SimpleArchiver 2024-06-30 08:31:11 +00:00
9e95c5e292 Change priority_heap to accept "less_fn"
stephenseo commented on issue stephenseo/SimpleArchiver#8 2024-06-30 07:00:54 +00:00
Impl. necessary data structures

Also implemented a priority heap as of fbe62ba5b2 , it seemed to be necessary.

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.