[MDEV-26191] Improve List performance Created: 2021-07-20 Updated: 2023-02-15 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Nikita Malyavin | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
class List is widely used across the project. Basically it overperforms arrays in pushing speed. However several improvements may still be made:
Theer |
| Comments |
| Comment by Daniel Black [ 2021-07-21 ] |
|
If there is a really easy way to make List thread safe at the same time I'd appreciate it. During my prototype being developed MDEV-26157 I suspect I'll come across more aspects and extra proliferation of #pragma omp critical will be necessary, but undesirable, as I do more multi-threaded things. |
| Comment by Nikita Malyavin [ 2023-02-15 ] |
|
danblack parallel reading from a list without parallel writes is for free. The rest is modern CS topic. There are also some concurrent data structures libraries for C++: |