3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 13:53:40 +01:00
dft_tools/triqs/arrays
Olivier Parcollet fc2a620eae arrays: new ref counting and weak views
- improve the mem_block and shared_block.
- the reference counting is now done in the mem_block and shared_block, removing the need of shared_ptr.

- speed tests shows that shared_ptr is very slow (due to thread safety?)
the new version is much better, though not perfect.

- Hence introducing weak views.

- also :
-- clean the guard mechanism for python (to allow returning from python without any python ref left).
-- clean code, add documentation for mem_block
-- remove nan init, which was not working, and corresponding test
-- serialisation of view still unchanged (need to forbid serialization of view ??).

- tests ok, incl. valgrind tests.
2013-07-23 08:13:44 +02:00
..
blas_lapack arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
expression_template First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
functional First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
h5 First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
impl arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
indexmaps First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
linalg arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
python arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
storages arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
algorithms.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
array.hpp arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
asserts.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
cache.hpp arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
CMakeLists.txt First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
h5.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
make_immutable_array.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
mapped_functions.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
matrix_stack_view.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
matrix_view_proxy_DEBUG.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
matrix_view_proxy.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
matrix.hpp arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
vector.hpp arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00