bryant Code
Brought to you by:
roger314
File | Date | Author | Commit |
---|---|---|---|
src | 2024-11-09 |
![]() |
[21c830] cleanup, use pimpl to hide stuff |
README | 2024-11-08 |
![]() |
[2e8e74] add README |
check-equal.sh | 2024-11-08 |
![]() |
[439d41] init commit |
gen-file.py | 2024-11-08 |
![]() |
[439d41] init commit |
makefile | 2024-11-09 |
![]() |
[21c830] cleanup, use pimpl to hide stuff |
Tested on a Linux system: ┌─[roger@snoopy]─[~/descargas/bryant] └──► $ uname -a Linux snoopy 6.6.58-gentoo-r1-roger #1 SMP PREEMPT_DYNAMIC Wed Nov 6 11:59:48 UTC 2024 x86_64 Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz GenuineIntel GNU/Linux ┌─[roger@snoopy]─[~/descargas/bryant] └──► $ g++ --version g++ (Gentoo 13.3.1_p20241025 p1) 13.3.1 20241024 To build run make. Generate 100000 random lines in a file name original.txt: ./gen-file.py 100000 Test reverser, running 4 threads, processing chunks of 10000 bytes per thread iteration: ./thing original.txt reversed.txt 4 10000 Undo: ./thing reversed.txt unreversed.txt 4 10000 Check: ┌─[roger@snoopy]─[~/descargas/bryant] └──► $ ./check-equal.sh original.txt unreversed.txt The file "original.txt" is the same as "unreversed.txt"