mirror of
https://github.com/Noratrieb/awwoc.git
synced 2026-01-14 19:55:04 +01:00
weedme
This commit is contained in:
parent
4475a4f7f0
commit
3c4f55ba41
1 changed files with 29 additions and 0 deletions
29
README.md
Normal file
29
README.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# awwoc
|
||||
|
||||
The most uwu awwocator ewer.
|
||||
|
||||
## awwoc is bwazing fast
|
||||
|
||||
here's how awwoc compawes to the default wust awwocator, in a very accuwate benchmawk:
|
||||
1. allocate 10000 10 byte allocations, writing `69` to each byte.
|
||||
2. deallocate all of them
|
||||
|
||||
| awwocator | time |
|
||||
|--------------|-----------|
|
||||
| wust default | 2.65 ms |
|
||||
| awwoc | 763.73 ms |
|
||||
|
||||
as you can see, awwoc handily beats the wust awwocator.
|
||||
|
||||
## using awwoc
|
||||
|
||||
add
|
||||
```rs
|
||||
#[global_allocator]
|
||||
static AWWOC: awwoc::Awwoc = awwoc::Awwoc;
|
||||
```
|
||||
to your wust pwogwam.
|
||||
|
||||
## unwuckily
|
||||
|
||||
awwoc only works on GNU/Winyux, or other posix opewating system kewnels.
|
||||
Loading…
Add table
Add a link
Reference in a new issue