Abdelrahman Said abdelrahman
abdelrahman pushed to main at abdelrahman/performance-aware-programming 2024-04-13 12:56:46 +00:00
5c97a99839 Execution ports homework
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-31 16:29:43 +00:00
be64571b0e Pass allocator as const *
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-31 16:05:20 +00:00
645686ae22 Remove unused variable
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-31 16:00:59 +00:00
3f9a908860 Address some minor bugs in dstr
2e93bd794a Switch to using Allocator in dstr
39c88505bd Fix bug with libc allocator where memory was set to 0 on reallocation
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-25 07:53:37 +00:00
970c588d66 Pass const Arena* to Allocator constuctor instead of Arena*
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 21:06:58 +00:00
efe8a104de Add allocator functions
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 21:05:57 +00:00
6f799c4330 Remove alloc_obj and pass double pointer to free function
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 20:30:37 +00:00
8a58a1cc48 Implement Allocator wrapper for memory context
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 20:26:14 +00:00
03d2a59948 Implement Allocator wrapper for Arena
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 19:25:41 +00:00
5b8e9f8be6 Wrap libc memory functions in Allocator interface
9ec123c41b Start implementing allocator abstraction
7039b5437a Implement memory context realloc function
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 17:25:12 +00:00
ca36e0dc35 Fix bug in the function that searches for the allocation header
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 14:57:45 +00:00
3fdd897291 Implement realloc function for Arena
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 13:55:37 +00:00
08703b465c Add arena allocation header
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 11:26:11 +00:00
49ce26a6c2 Switch to using calloc instead of malloc
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 08:10:47 +00:00
feada0b31c Add -O3 to compile flags
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 08:00:12 +00:00
0c07437ef2 Implement memory context with main and temp arenas
063bc03974 Fix bug with clearing arena function
09af7ec734 Update .gitignore
04e86d355d Rename output name in compile script
7bfaf53d4e Return false when initialising arena with 0 capacity
Compare 8 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 05:52:42 +00:00
df4315cdcc Use echo instead of printf in compile script
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 05:45:33 +00:00
b3a174f26c Update compile script
abdelrahman pushed to main at abdelrahman/prng-tests 2024-03-22 12:38:12 +00:00
e4893c150b Add split_mix_64 utility
abdelrahman pushed to main at abdelrahman/prng-tests 2024-03-22 12:21:27 +00:00
05b9a22174 Add xoshiro256p generator
b8ce449e99 Update compile script
Compare 2 commits »