If '/etc/ld.so.cache' does not contain any old entries
using the 'HeaderOld' struct then it fails with a bad-magic
error before looking for the HeaderNew entries.
My Ubuntu 19.10 system doesn't have any old entries so always
fails here when using 'load-all', which results in the
'extra/llvm' vocab failing due to using 'find-so'.
The fix implemented here is to catch the error and recover from
it by seeking back to the start of the header before looking for
the new header entries.
This caused a small regression in compiler.tree.cleanup on this test:
{ t } [
[ { array } declare 2 <groups> [ . . ] assoc-each ]
\ nth-unsafe inlined?
] unit-test
I'm not entirely sure why it wasn't able to infer the slice that was created
for iteration stays a slice, and never becomes a step-slice, so perhaps there
is some improvement to be made in type inference here.
- Works if the build directory does not exist, assuming it would be created on the root disk containing the path of the first existing parent directory
- Space calculation is wrong, we should be using the available space
- MB is GB, comment was wrong
- Call find-mount-point-info to get the real disk mount point even if the dir does not exist
tensors: Add benchmarking file
tensors: Add addition and multiplication tests for benchmarking
tensors: inlined slicing to improve metrics.
tensors: fix help-lint warnings.
tensors: restore newer matmul
tensors: add fixnum declaration.
tensors: away with you, unsafe!
tensors: transpose added to benchmarks
tensors: optimize matmul to be within an order of magnitude of np.
tensors: remove type declaration.
tensors: optimize matmul.
math.matrices.elimination: move to extra
math.matrices.extras: expand with esoteric, less-used and unfinished code from basis
- math.matrices and .extras receive more words, tests, and docs
- matrix has become a predicate class
- 94% of matrices words have complete docs
- 77% of matrices.extras words have complete docs
- much more consistent naming for constructors etc
- added missing words / features such as main-diagonal and anti-transpose
- optimizations
- lots of documentation