Skip to content

Commit

Permalink
v0.9.10
Browse files Browse the repository at this point in the history
### 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
  • Loading branch information
MrUnbelievable92 committed Jan 19, 2021
1 parent f8e0145 commit 32ff10c
Show file tree
Hide file tree
Showing 86 changed files with 1,656 additions and 1,537 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2020 Maximilian Kalimon
Copyright 2020 - 2021 Maximilian Kalimon

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,24 @@ Bit Collections for Unity is all about saving as much RAM and/or network bandwid

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:

- Unity 2020.2.0f (C# 8 => unmanaged constructed types)
- Unity.Mathematics
- Unity.Burst
- Unity.Collections (A native bit-array and generic, native "bit-number" arrays are defined)
- Unity.Jobs (Mainly for de-allocating the mentioned arrays on a worker thread)
- MaxMath (my SIMD library supplementary to Unity.Mathematics)
- C-Sharp-Dev-Tools (Conditionally compiled runtime-checks)
Unity 2020.2.0f (C# 8 => unmanaged constructed types)

Unity.Mathematics

Unity.Burst

Unity.Collections (A native bit-array and generic, native "bit-number" arrays are defined)

Unity.Jobs (Mainly for de-allocating the mentioned arrays on a worker thread)

MaxMath (my SIMD library supplementary to Unity.Mathematics)

C-Sharp-Dev-Tools (Conditionally compiled runtime-checks)





# How To Use This Library:

Bit Arrays:

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

- Locate the library's "package.json" file
- DONE!

Loading

0 comments on commit 32ff10c

Please sign in to comment.