Commits

Author Commit Message Labels Comments Date
Shlomi Fish
Major optimization: skip loops on ifs. This won't help in the general weighting case, but it helps with '[@TESTS]=asw(5,0,0,0,0,0)'. Now the new1.sh is faster than old.sh.
Shlomi Fish
Optimisation.
Shlomi Fish
Optimization
Shlomi Fish
Small optimisation.
Shlomi Fish
Remove some pointer chasing. This is costly and needless in this case. See: https://lwn.net/Articles/509417/ .
Shlomi Fish
Convert num_cards_out_factor to a lookup table. A small increase in speed.
Shlomi Fish
Normalized the weights based on INT_MAX. This gives another speed boost.
Shlomi Fish
More const'ing.
Shlomi Fish
Remove extraneous #undef-s.
Shlomi Fish
Small optimisation.
Shlomi Fish
We don't need the hard_thread.
Shlomi Fish
Convert back to doubles. Now we have the refactoring into the typedefs, but also a somewhat better speed. The previous commit made matters a little worse.
Shlomi Fish
Trying out a possible optimisation. Not sure if it improves things. We may need to revert this commit.
Shlomi Fish
Trying an optimisation. Avoiding costly calls to pow(n, CONSTANT) with a lookup table.
Shlomi Fish
Renamed.
Shlomi Fish
Fix a compilation problem.
Shlomi Fish
Some fixes for the new code.
Shlomi Fish
Add Michiel de Bondt to the credits.
Shlomi Fish
Optimized the previous code. Now it mallocs less excessively.
Shlomi Fish
Implement the states ordering based on the -asw. TODO : test.
Shlomi Fish
Initialize the weighting in fcs_tests_list_t. Of the Random-DFS depth-stack test groups.
Shlomi Fish
Move initial_cards_under_sequences_value. Made it global for the soft_thread.
Shlomi Fish
Rename a variable from a to i. i is more standard and idiomatic for an index.
Shlomi Fish
Fix formatting.
Shlomi Fish
Fix a comment. Thanks to mauke.
Shlomi Fish
Implement the =rand() parsing for the test string.
Shlomi Fish
Rename to shuffling_type.
Shlomi Fish
Implement the shuffling type. This will be extended to provide BeFS-type shuffling.
Shlomi Fish
Create the SMALLOC abstraction.
Shlomi Fish
Refactoring: extract the SREALLOC() macro. It reallocates an array pointer based on a sizeof and count.
  1. Prev
  2. Next