Skip to content

Commit 32ff10c

Browse files
v0.9.10
### Improvements - Removed the 'fixed' pattern from the project to improve performance with managed C# - Replaced bitarray setter methods for single bits aswell as strings of bits with a branch-free alternative ### Additions - Added readonly versions of NativeBitArray and NativeBitNumberArray - Added "new" Unity.Collections.LowLevel.Unsafe.WriteAccessRequiredAttribute to relevant methods for NativeBitArray and NativeBitNumberArray ### Changes - (U)Int24, (U)Int40, (U)Int48 and (U)Int56 are now readonly structs
1 parent f8e0145 commit 32ff10c

Some content is hidden

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

86 files changed

+1656
-1537
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2020 Maximilian Kalimon
189+
Copyright 2020 - 2021 Maximilian Kalimon
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,24 @@ Bit Collections for Unity is all about saving as much RAM and/or network bandwid
44

55
Since using less RAM usually comes at the cost of taking more time (CPU), this library uses SIMD instructions as much possible, resulting in the following dependencies:
66

7-
- Unity 2020.2.0f (C# 8 => unmanaged constructed types)
8-
- Unity.Mathematics
9-
- Unity.Burst
10-
- Unity.Collections (A native bit-array and generic, native "bit-number" arrays are defined)
11-
- Unity.Jobs (Mainly for de-allocating the mentioned arrays on a worker thread)
12-
- MaxMath (my SIMD library supplementary to Unity.Mathematics)
13-
- C-Sharp-Dev-Tools (Conditionally compiled runtime-checks)
7+
Unity 2020.2.0f (C# 8 => unmanaged constructed types)
8+
9+
Unity.Mathematics
10+
11+
Unity.Burst
12+
13+
Unity.Collections (A native bit-array and generic, native "bit-number" arrays are defined)
14+
15+
Unity.Jobs (Mainly for de-allocating the mentioned arrays on a worker thread)
16+
17+
MaxMath (my SIMD library supplementary to Unity.Mathematics)
18+
19+
C-Sharp-Dev-Tools (Conditionally compiled runtime-checks)
20+
1421

1522

1623

1724

18-
# How To Use This Library:
1925

2026
Bit Arrays:
2127

@@ -71,3 +77,4 @@ For these reasons I usually don't distribute DLLs.
7177

7278
- Locate the library's "package.json" file
7379
- DONE!
80+

0 commit comments

Comments
 (0)