Commit Graph

104 Commits

Author SHA1 Message Date
3f22799f7b Enhance time! macro for conditional compilation
The `time!` macro now only logs execution time in debug mode, avoiding unnecessary overhead in release builds. Added `CommandQueueProperties` and `Context` imports to `schemsearch-ocl-matcher` for potential future functionality.
2025-05-11 19:48:12 +02:00
881989a7bc Refactor NBT handling for version 3 schematics
Update logic to process "Schematic" key in NBT for version 3, ensuring compatibility with nested tags. Adjust function signatures to pass CompoundTag references, optimizing data handling and reducing unnecessary clones.
2025-05-04 20:26:26 +02:00
b04c01e737 Refactor code structure and improve performance by optimizing OpenCL kernel and adding timing macros; update Cargo.toml for release profile settings; enhance main.rs and sinks.rs for better readability and organization. 2025-04-11 16:04:10 +02:00
c554b1f164 Rename use_cpu to opencl and adjust logic accordingly. 2025-04-09 18:58:55 +02:00
c30c10e494 Enable lazy initialization for OpenCL availability check 2025-04-09 18:38:34 +02:00
f5286f7aec Enable lazy initialization for OpenCL availability check
Replaced direct calls to `ocl_available()` with a `OnceLock` for thread-safe and efficient lazy initialization. This avoids redundant checks and improves performance in scenarios where OpenCL is not repeatedly required.
2025-04-09 18:34:32 +02:00
8befbf4c7f Add CPU matching option and improve default behavior handling 2025-04-09 18:32:16 +02:00
35726def3e Add CPU matching option and improve default behavior handling 2025-04-09 18:30:51 +02:00
1d3d5b3e6e **Optimize ProQue initialization with OnceLock**
Replaced repeated ProQue initialization with a static OnceLock to ensure efficient and thread-safe reuse. This minimizes the overhead of recreating the ProQue instance while maintaining correct behavior by dynamically updating its dimensions.
2025-04-09 14:39:14 +02:00
47bbf25ac7 Remove deprecated crates and introduce OpenCL matcher integration 2025-04-09 13:41:50 +02:00
2a584e878f Fixing... 2024-04-27 22:30:29 +02:00
33f5fe03fe Merge pull request #11 from Chaoscaot/add-invalid-nbt-arg
🔧 Add invalid_nbt flag.
2024-04-27 21:55:13 +02:00
0e6f2c3f78 🔧 Add invalid_nbt flag. 2024-04-27 21:27:42 +02:00
82108d9e36 🛠️ Fix incorrect CSV format in OutputFormat::CSV. (#10) 2024-04-27 20:19:10 +02:00
Chaoscaot
d20940f89b Improve Performance 2023-08-20 15:37:23 +02:00
Chaoscaot
e3e6e9f759 Improve Performance 2023-08-09 09:22:24 +02:00
Chaoscaot
ccae2ba393 Merge pull request #9 from Chaoscaot/dependabot/cargo/sqlx-0.7
Update sqlx requirement from 0.6 to 0.7
2023-07-11 20:48:13 +02:00
dependabot[bot]
6c6c95bedd Update sqlx requirement from 0.6 to 0.7
Updates the requirements on [sqlx](https://github.com/launchbadge/sqlx) to permit the latest version.
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: sqlx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 10:49:15 +00:00
Chaoscaot
582079c80d Bump Version v0.1.5 2023-05-23 20:10:41 +02:00
Chaoscaot
e25aeab065 Fix Broken Schematics Loading 2023-05-23 20:07:23 +02:00
Chaoscaot
aee3a80267 Reduce FLOPs 2023-05-01 11:32:40 +02:00
Chaoscaot
5107e04497 Update README.md 2023-04-28 00:28:34 +02:00
Chaoscaot
a357da2ce8 Fix Tests 2023-04-24 22:52:03 +02:00
Chaoscaot
eb84adb4a3 Reduce Boilerplate v0.1.4 2023-04-24 19:04:44 +02:00
Chaoscaot
25c4e97f71 Merge branch 'chaoscaot/support_sponge_v1_v3' 2023-04-23 12:19:22 +02:00
Chaoscaot
7d9e7f28a9 Fix SQL 2023-04-23 12:17:59 +02:00
Chaoscaot
ef1f8ed38f Merge pull request #8 from Chaoscaot/chaoscaot/support_sponge_v1_v3
Add Support for Sponge Schematic V1 and V3
v0.1.3
2023-04-22 21:55:51 +02:00
Chaoscaot
4671f38591 Bump Version 2023-04-22 21:55:08 +02:00
Chaoscaot
5cff84538d Fix Performance 2023-04-22 21:29:18 +02:00
Chaoscaot
9a0b0535c6 remove Serde 2023-04-22 21:03:00 +02:00
Chaoscaot
a47c2f44bd Something™️ 2023-04-22 16:39:21 +02:00
Chaoscaot
246927d840 idk what im doing 2023-04-14 17:56:28 +02:00
Chaoscaot
d1a01dc0c1 Faster but not working 2023-04-13 23:49:39 +02:00
Chaoscaot
e03a805bdb Something Working :D 2023-04-13 23:16:12 +02:00
Chaoscaot
9cca860db3 Some new Ideas 2023-04-13 16:16:02 +02:00
Chaoscaot
80f5191ae8 Merge branch 'master' into chaoscaot/support_sponge_v1_v3 2023-04-13 14:33:59 +02:00
Chaoscaot
3f20cbc17f Create CODE_OF_CONDUCT.md 2023-04-13 00:25:42 +02:00
Chaoscaot
733aaa9e72 Update dependabot.yml 2023-04-13 00:21:24 +02:00
Chaoscaot
14866df17d Create dependabot.yml 2023-04-13 00:20:53 +02:00
Chaoscaot
00e3d6fd0f Fix Cache 2023-04-05 13:07:14 +02:00
Chaoscaot
fb8f935617 Fix Cache and Bump Version 2023-04-05 13:05:15 +02:00
Chaoscaot
2a112ac49c Add Output Limit 2023-04-05 02:43:28 +02:00
Chaoscaot
e7c1fd1ef7 Fixing Something? v0.1.2 2023-04-05 00:33:21 +02:00
Chaoscaot
80eeaad5d5 Add output for machines 2023-04-04 22:38:02 +02:00
Chaoscaot
64158cf45b Remove Timer from Progressbar 2023-04-04 21:44:43 +02:00
Chaoscaot
e4b26755ea Revert "Print Progressbar to stdout"
This reverts commit 5607dcc72c.
2023-04-04 17:34:12 +02:00
Chaoscaot
5607dcc72c Print Progressbar to stdout 2023-04-04 17:29:04 +02:00
Chaoscaot
5c9bcfc2ec Add SQL to Makefile 2023-04-04 16:31:48 +02:00
Chaoscaot
a1b5449f06 Some basic tests and basic impls 2023-04-04 12:07:33 +02:00
Chaoscaot
1df33249c4 Add Makefile for easier building 2023-04-04 00:36:40 +02:00