Commit Graph

12 Commits

Author SHA1 Message Date
Nicolás A. Ortega
3e902efd18
Small cleanup. 2016-12-30 17:51:48 +01:00
Nicolás A. Ortega
09166efe89
Small improvements and optimizations.
All error catching is now in `main.c' so we can neatly release memory as
well as adding the `restrict' optimizer to the `addToList()' function.
2016-12-28 00:30:31 +01:00
Nicolás A. Ortega
591ee92971
Cast is unnecessary in C. 2016-12-15 15:16:04 +01:00
Nicolás A. Ortega
803c6f9e06
`size_t' makes this safeguard unnecessary. 2016-12-14 23:42:20 +01:00
Nicolás A. Ortega
9f1160242a
Removed warning (no longer necessary). 2016-12-14 15:56:28 +01:00
Nicolás A. Ortega
5bbac132bc
Use size_t, which is better for arrays of very large sizes. 2016-12-14 14:13:32 +01:00
Nicolás A. Ortega
449fef2994
Add restrict
Add restrict for better pointer optimizations. This is not being applied
to `addToList()' because that function we want to thread later on.
2016-12-13 11:26:12 +01:00
Nicolás A. Ortega
dab78093ab
Deleted macros 2016-12-10 17:11:21 +01:00
Nicolás A. Ortega
8a42e85d04
Better explanation of error. 2016-12-10 11:51:32 +01:00
Nicolás A. Ortega
dd38b53e31
Fixed leaks. 2016-12-10 11:20:01 +01:00
Nicolás A. Ortega
4905391c82
Add more optimizations. 2016-12-10 00:50:23 +01:00
Nicolás A. Ortega
79a9ba11ff
Switch to C, stop using OpenMP, start using GMP. 2016-12-09 23:02:51 +01:00