summaryrefslogtreecommitdiffstats
path: root/include/util
Commit message (Collapse)AuthorAgeFilesLines
* progress towards resolving asynch structure mergesDouglas Rumbaugh2025-02-131-0/+9
|
* Background compaction stuffDouglas Rumbaugh2025-02-061-1/+7
|
* Continued developmentDouglas B. Rumbaugh2024-12-221-1/+1
|
* Began overhauling reconstruction mechanismDouglas B. Rumbaugh2024-12-221-48/+35
|
* Warning fixesDouglas B. Rumbaugh2024-12-061-1/+1
|
* Interface update (#5)Douglas B. Rumbaugh2024-12-064-248/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Query Interface Adjustments/Refactoring Began the process of adjusting the query interface (and also the shard interface, to a lesser degree) to better accommodate the user. In particular the following changes have been made, 1. The number of necessary template arguments for the query type has been drastically reduced, while also removing the void pointers and manual delete functions from the interface. This was accomplished by requiring many of the sub-types associated with a query (parameters, etc.) to be nested inside the main query class, and by forcing the SHARD type to expose its associated record type. 2. User-defined query return types are now supported. Queries no longer are required to return strictly sets of records. Instead, the query now has LocalResultType and ResultType template parameters (which can be defaulted using a typedef in the Query type itself), allowing much more flexibility. Note that, at least for the short term, the LocalResultType must still expose the same is_deleted/is_tombstone interface as a Wrapped<R> used to, as this is currently needed for delete filtering. A better approach to this is, hopefully, forthcoming. 3. Updated the ISAMTree.h shard and rangequery.h query to use the new interfaces, and adjusted the associated unit tests as well. 4. Dropped the unnecessary "get_data()" function from the ShardInterface concept. 5. Dropped the need to specify a record type in the ShardInterface concept. This is now handled using a required Shard::RECORD member of the Shard class itself, which should expose the name of the record type. * Updates to framework to support new Query/Shard interfaces Pretty extensive adjustments to the framework, particularly to the templates themselves, along with some type-renaming work, to support the new query and shard interfaces. Adjusted the external query interface to take an rvalue reference, rather than a pointer, to the query parameters. * Removed framework-level delete filtering This was causing some issues with the new query interface, and should probably be reworked anyway, so I'm temporarily (TM) removing the feature. * Updated benchmarks + remaining code for new interface
* Added a Bentley-Saxe layout policyDouglas Rumbaugh2024-05-011-3/+9
|
* Updates for build on OpenBSDDouglas B. Rumbaugh2024-03-251-1/+1
| | | | | | | | | Necessary updates to get the codebase building under OpenBSD 7.5 with clang. This is a minimal set of changes to get building to work, which includes disabling several things that aren't directly compatable. More work will be necessary to get full functionality. In particular, Triespline, PGM, and the reference M-tree do not currently build on OpenBSD with clang due to GNU dependencies or other gcc specific features.
* ExtensionStructure: first basic test of lookahead task stealingDouglas Rumbaugh2024-02-121-0/+4
|
* Refactored Reconstruction TasksDouglas Rumbaugh2024-02-121-0/+67
| | | | | Added a ReconVector type to make it easier to do load balancing by shifting tasks around, and clean up a few interfaces.
* Comment updates/fixesDouglas Rumbaugh2024-02-094-18/+42
|
* Cleaned up shard files (except VPTree)Douglas Rumbaugh2024-02-071-0/+185
| | | | | | Cleaned up shard implementations, fixed a few bugs, and set up some tests. There's still some work to be done in creating tests for the weighted sampling operations for the alias and aug btree shards.
* Comment and License updatesDouglas Rumbaugh2023-11-073-4/+4
|
* General Comment + Consistency updatesDouglas Rumbaugh2023-10-303-24/+47
|
* Re-structuring Project + scheduling updatesDouglas Rumbaugh2023-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a big one--probably should have split it apart, but I'm feeling lazy this morning. * Organized the mess of header files in include/framework by splitting them out into their own subdirectories, and renaming a few files to remove redundancies introduced by the directory structure. * Introduced a new framework/ShardRequirements.h header file for simpler shard development. This header simply contains the necessary includes from framework/* for creating shard files. This should help to remove structural dependencies from the framework file structure and shards, as well as centralizing the necessary framework files to make shard development easier. * Created a (currently dummy) SchedulerInterface, and make the scheduler implementation a template parameter of the dynamic extension for easier testing of various scheduling policies. There's still more work to be done to fully integrate the scheduler (queries, multiple buffers), but some more of the necessary framework code for this has been added as well. * Adjusted the Task interface setup for the scheduler. The task structures have been removed from ExtensionStructure and placed in their own header file. Additionally, I started experimenting with using std::variant, as opposed to inheritence, to implement subtype polymorphism on the Merge and Query tasks. The scheduler now has a general task queue that contains both, and std::variant, std::visit, and std::get are used to manipulate them without virtual functions. * Removed Alex.h, as it can't build anyway. There's a branch out there containing the Alex implementation stripped of the C++20 stuff. So there's no need to keep it here.
* Migrated over to using psudb-common utilities/headersDouglas Rumbaugh2023-08-246-183/+6
|
* General header/file cleanupDouglas Rumbaugh2023-06-072-98/+2
|
* More updates/restructuringDouglas Rumbaugh2023-05-222-122/+1
|
* Progress towards generalization of shard interfaceDouglas Rumbaugh2023-05-221-17/+17
|
* Record format generalizationDouglas Rumbaugh2023-05-152-26/+86
| | | | | Currently, tombstone counting is bugged. But the rest of it appears to be working.
* Ported over IRS with unit testsDouglas Rumbaugh2023-05-091-1/+1
|
* Template/port fixes on utility modulesDouglas Rumbaugh2023-05-091-16/+17
|
* Templatized Record with key, value, and optional weightDouglas Rumbaugh2023-05-091-13/+9
|
* Record.h: Renamed record_t to Record for POSIX compliance.Douglas Rumbaugh2023-05-083-13/+13
| | | | | | | Required for compliance with POSIX B.2.12. The other _t types, key_t, val_t, header_t, etc. will be revised later when switching over to a templated version of this code.
* Began porting source files over from other repositoryDouglas Rumbaugh2023-05-088-0/+519