Daniel Llorens
|
257e163c75
Arrays are not an array implementation
|
11 years ago |
Daniel Llorens
|
96f7332263
array-contents returns root for empty arrays with empty root
|
11 years ago |
Daniel Llorens
|
f6ec824401
Fix compilation bugs with some kinds of typed arrays
|
11 years ago |
Daniel Llorens
|
dcc91f931c
Preallocate index list in scm_array_index_map_x
|
11 years ago |
Daniel Llorens
|
d0b47b4946
Rename scm_t_array_handle.array to .root
|
11 years ago |
Daniel Llorens
|
99c0a58a2f
Match types used in arrays.c to struct field types
|
11 years ago |
Daniel Llorens
|
d2053db7d8
Bounds error in vector_handle_ref/set is implementation error
|
11 years ago |
Daniel Llorens
|
86263a20cd
Don't use ASET in scm_array_index_map_x
|
11 years ago |
Daniel Llorens
|
ce6fce6af3
In scm_ramapc, only check unrolled axes for emptiness
|
11 years ago |
Daniel Llorens
|
3ee4c76453
Fix scm_ramapc bugs with 0-inc arrays
|
11 years ago |
Daniel Llorens
|
2bd96d9ecd
Fix corner cases of scm_ramapc
|
11 years ago |
Daniel Llorens
|
cdd7cc9e9b
Rewrite scm_ramapc()
|
11 years ago |
Daniel Llorens
|
7c78a99f80
Check more cases of array-contents
|
11 years ago |
Daniel Llorens
|
ebe19774ea
Check the documented matching behavior of array-map!/copy!
|
11 years ago |
Daniel Llorens
|
aba084e95e
Simplify ASET in array-map.c
|
11 years ago |
Daniel Llorens
|
1c22510af4
Inline ASET in array-index-map! for rank 1 arguments
|
11 years ago |
Daniel Llorens
|
b713626073
Fix compilation errors when reading arrays at the repl
|
11 years ago |
Daniel Llorens
|
d4f63dacdd
Factor out make1array() in scm_ramapc()
|
11 years ago |
Daniel Llorens
|
4552a0c406
Raw pointer loop in array-copy! for vector/vector case
|
11 years ago |
Daniel Llorens
|
8190effae2
Have array impl->vref, vset take SCM, not handles
|
11 years ago |
Daniel Llorens
|
f1fcf88b1f
Fix array map functions with empty arguments
|
11 years ago |
Daniel Llorens
|
e26994b9e9
Fix empty array bug in array-index-map!
|
11 years ago |
Daniel Llorens
|
3e226ece5f
Avoid using array_handle fields in impl->vref/vset
|
11 years ago |
Daniel Llorens
|
95cd688421
Remove undocumented casting behavior in srfi4 vector_elements
|
11 years ago |
Daniel Llorens
|
9cbd17fc50
Test that typed-array? returns #f with non-array argument
|
11 years ago |
Daniel Llorens
|
ecd6c04527
Avoid array API in make-srfi-4-vector
|
11 years ago |
Daniel Llorens
|
c9b62794e0
Replace SCM_IMP in array-map.c
|
11 years ago |
Daniel Llorens
|
f5b2888e83
Fix comment in scm_array_get_handle
|
11 years ago |
Daniel Llorens
|
3e5f10e8a2
Don't bother with array handle in scm_c_array_rank
|
11 years ago |
Daniel Llorens
|
a70333d296
Use underlying vector implementation directly in array handles
|
12 years ago |