Skip to content

Commit 30ec5fd

Browse files
committed
Remove Tenray from namespace and docs.
1 parent 407d4c4 commit 30ec5fd

289 files changed

Lines changed: 822 additions & 817 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ bin
44
obj
55
src/ZoneTree/Properties/PublishProfiles/FolderProfile.pubxml.user
66
src/ZoneTree/docs/ZoneTree/api/
7-
src/Tenray.LZ4/Properties/PublishProfiles/FolderProfile.pubxml.user
7+
src/ZoneTree.LZ4/Properties/PublishProfiles/FolderProfile.pubxml.user

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ ZoneTree is designed for ease of use, allowing developers to integrate and utili
142142
### Basic Usage
143143

144144
```csharp
145-
using Tenray.ZoneTree;
145+
using ZoneTree;
146146

147147
using var zoneTree = new ZoneTreeFactory<int, string>()
148148
.OpenOrCreate();
@@ -153,9 +153,9 @@ zoneTree.Upsert(39, "Hello ZoneTree");
153153
### Creating a Database
154154

155155
```csharp
156-
using Tenray.ZoneTree;
157-
using Tenray.ZoneTree.Comparers;
158-
using Tenray.ZoneTree.Serializers;
156+
using ZoneTree;
157+
using ZoneTree.Comparers;
158+
using ZoneTree.Serializers;
159159

160160
var dataPath = "data/mydatabase";
161161

@@ -186,8 +186,8 @@ Large-scale LSM Trees require periodic maintenance to ensure optimal performance
186186
**Example Usage:**
187187

188188
```csharp
189-
using Tenray.ZoneTree;
190-
using Tenray.ZoneTree.Maintenance;
189+
using ZoneTree;
190+
using ZoneTree.Maintenance;
191191

192192
var dataPath = "data/mydatabase";
193193

@@ -223,7 +223,7 @@ By default, ZoneTree assumes that **default values** indicate deletion. This beh
223223
In this example, `-1` is used as the deletion marker for integer values:
224224

225225
```csharp
226-
using Tenray.ZoneTree;
226+
using ZoneTree;
227227

228228
using var zoneTree = new ZoneTreeFactory<int, int>()
229229
.SetIsDeletedDelegate((in int key, in int value) => value == -1)
@@ -240,7 +240,7 @@ For more control, define a custom structure to represent values and their deleti
240240

241241
```csharp
242242
using System.Runtime.InteropServices;
243-
using Tenray.ZoneTree;
243+
using ZoneTree;
244244

245245
[StructLayout(LayoutKind.Sequential)]
246246
struct MyDeletableValueType
@@ -267,8 +267,8 @@ ZoneTree provides efficient mechanisms to iterate over data both **forward** and
267267
### Forward and Backward Iteration
268268

269269
```csharp
270-
using Tenray.ZoneTree;
271-
using Tenray.ZoneTree.Collections;
270+
using ZoneTree;
271+
using ZoneTree.Collections;
272272

273273
using var zoneTree = new ZoneTreeFactory<int, int>()
274274
.OpenOrCreate();
@@ -297,8 +297,8 @@ while (reverseIterator.Next())
297297
The `ZoneTreeIterator` supports the `Seek()` method to jump to any record with **O(log(n))** complexity, useful for prefix searches and range queries.
298298

299299
```csharp
300-
using Tenray.ZoneTree;
301-
using Tenray.ZoneTree.Collections;
300+
using ZoneTree;
301+
using ZoneTree.Collections;
302302

303303
using var zoneTree = new ZoneTreeFactory<string, int>()
304304
.OpenOrCreate();
@@ -332,8 +332,8 @@ ZoneTree supports **Optimistic Transactions**, ensuring **ACID compliance** whil
332332

333333
```csharp
334334
using System.Threading.Tasks;
335-
using Tenray.ZoneTree;
336-
using Tenray.ZoneTree.Transaction;
335+
using ZoneTree;
336+
using ZoneTree.Transaction;
337337

338338
using var zoneTree = new ZoneTreeFactory<int, int>()
339339
.OpenOrCreateTransactional();
@@ -362,8 +362,8 @@ await transaction.CommitAsync();
362362
```csharp
363363
using System;
364364
using System.Threading;
365-
using Tenray.ZoneTree;
366-
using Tenray.ZoneTree.Transaction;
365+
using ZoneTree;
366+
using ZoneTree.Transaction;
367367

368368
using var zoneTree = new ZoneTreeFactory<int, int>()
369369
.OpenOrCreateTransactional();
@@ -395,7 +395,7 @@ catch (TransactionAbortedException)
395395
```csharp
396396
using System;
397397
using System.Threading.Tasks;
398-
using Tenray.ZoneTree.Transactional;
398+
using ZoneTree.Transactional;
399399

400400
public async Task<bool> ExecuteTransactionWithRetryAsync(ZoneTreeFactory<int, int> zoneTreeFactory, int maxRetries = 3)
401401
{
@@ -500,13 +500,13 @@ For more information and detailed documentation, visit the [ZoneTree.FullTextSea
500500

501501
Explore comprehensive guides and API references to get the most out of ZoneTree:
502502

503-
- **[Introduction](https://tenray.io/docs/ZoneTree/guide/introduction.html)**
504-
- **[Quick Start Guide](https://tenray.io/docs/ZoneTree/guide/quick-start.html)**
505-
- **[API Documentation](https://tenray.io/docs/ZoneTree/api/Tenray.ZoneTree.html)**
506-
- **[Tuning ZoneTree](https://tenray.io/docs/ZoneTree/guide/tuning-disk-segment.html)**
507-
- **[Features Overview](https://tenray.io/docs/ZoneTree/guide/features.html)**
508-
- **[Terminology](https://tenray.io/docs/ZoneTree/guide/terminology.html)**
509-
- **[Performance Details](https://tenray.io/docs/ZoneTree/guide/performance.html)**
503+
- **[Introduction](https://zonetree.dev/docs/ZoneTree/guide/introduction.html)**
504+
- **[Quick Start Guide](https://zonetree.dev/docs/ZoneTree/guide/quick-start.html)**
505+
- **[API Documentation](https://zonetree.dev/docs/ZoneTree/api/ZoneTree.html)**
506+
- **[Tuning ZoneTree](https://zonetree.dev/docs/ZoneTree/guide/tuning-disk-segment.html)**
507+
- **[Features Overview](https://zonetree.dev/docs/ZoneTree/guide/features.html)**
508+
- **[Terminology](https://zonetree.dev/docs/ZoneTree/guide/terminology.html)**
509+
- **[Performance Details](https://zonetree.dev/docs/ZoneTree/guide/performance.html)**
510510

511511
---
512512

src/Playground/Benchmark/OldTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Diagnostics;
2-
using Tenray.ZoneTree;
3-
using Tenray.ZoneTree.Options;
2+
using ZoneTree;
3+
using ZoneTree.Options;
44

55
namespace Playground.Benchmark;
66

src/Playground/Benchmark/StevesChallenge.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using Humanizer;
22
using System.Diagnostics;
3-
using Tenray.ZoneTree;
4-
using Tenray.ZoneTree.Core;
5-
using Tenray.ZoneTree.Options;
3+
using ZoneTree;
4+
using ZoneTree.Core;
5+
using ZoneTree.Options;
66

77
namespace Playground.Benchmark;
88

src/Playground/Benchmark/TestConfig.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Tenray.ZoneTree.Core;
2-
using Tenray.ZoneTree.Options;
1+
using ZoneTree.Core;
2+
using ZoneTree.Options;
33

44
namespace Playground.Benchmark;
55

src/Playground/Benchmark/ZoneTreeTest1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Humanizer;
22
using System.Diagnostics;
3-
using Tenray.ZoneTree.Core;
4-
using Tenray.ZoneTree.Options;
3+
using ZoneTree.Core;
4+
using ZoneTree.Options;
55

66
namespace Playground.Benchmark;
77

src/Playground/Benchmark/ZoneTreeTest2.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Humanizer;
22
using System.Diagnostics;
3-
using Tenray.ZoneTree.Core;
4-
using Tenray.ZoneTree.Options;
3+
using ZoneTree.Core;
4+
using ZoneTree.Options;
55

66
namespace Playground.Benchmark;
77

src/Playground/Benchmark/ZoneTreeTest3.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Humanizer;
22
using System.Diagnostics;
3-
using Tenray.ZoneTree.Core;
4-
using Tenray.ZoneTree.Options;
3+
using ZoneTree.Core;
4+
using ZoneTree.Options;
55

66
namespace Playground.Benchmark;
77

src/Playground/Benchmark/ZoneTreeTestBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Humanizer;
2-
using Tenray.ZoneTree;
3-
using Tenray.ZoneTree.Options;
2+
using ZoneTree;
3+
using ZoneTree.Options;
44

55
namespace Playground.Benchmark;
66

src/Playground/DeadlockFinder.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
using System.Diagnostics;
2-
using Tenray.ZoneTree.Collections.BTree;
3-
using Tenray.ZoneTree.Collections.BTree.Lock;
4-
using Tenray.ZoneTree.Comparers;
2+
using ZoneTree.Collections.BTree;
3+
using ZoneTree.Collections.BTree.Lock;
4+
using ZoneTree.Comparers;
5+
6+
namespace Playground;
57

68
public class DeadlockFinder
79
{

0 commit comments

Comments
 (0)