Hey folks,
This is the kind of Allocator I was ranting about creating awhile ago...
Its my attempt at making a fast, fast, FFASSTT Buddy allocator!
Powered by space-optimized AVL trees .
~Z
Something i've been tinkerin' on...
Something i've been tinkerin' on...
- Attachments
-
- z2avm.c
- Candidate z2Arch L/0 MM.
[email protected] - (16.43 KiB) Downloaded 44 times
Id be interested to hear the results.
Keep in mind, its designed to manage an address space of 8MiB.
Anything larger would require significant refactoring...
The AVL implementation (of mine...) that I based z2avm.c on is included with this message.
On my machine, I timed 0xFFFFF worst-case insertions (ascending keys...) at 1.6-1.8sec. Deallocation time was slightly more.
16.7 Million ascending keys takes significantly longer, about 30 seconds...
~Z
Keep in mind, its designed to manage an address space of 8MiB.
Anything larger would require significant refactoring...
The AVL implementation (of mine...) that I based z2avm.c on is included with this message.
On my machine, I timed 0xFFFFF worst-case insertions (ascending keys...) at 1.6-1.8sec. Deallocation time was slightly more.
16.7 Million ascending keys takes significantly longer, about 30 seconds...
~Z
- Attachments
-
[The extension cc has been deactivated and can no longer be displayed.]
Sorry, no time way to busy with other stuff.
But if you need to know if you can improve it profile it and see where you can optimise. There should always be room for improvement .
and post itermediate results ofcourse.
But if you need to know if you can improve it profile it and see where you can optimise. There should always be room for improvement .
and post itermediate results ofcourse.
Author of COBOS
-
- Member
- Posts: 65
- Joined: Wed Nov 14, 2007 3:19 pm
Im very new to the site , really starting to appreciate the good info thats here, but I would just say dont lose heart , seem like your doing well with your project , Im sure someone will feedback eventually , in the meantime gl
I dont really know much about your project but I will download it , in the hope that if I ever get to that in my OS it will help
I dont really know much about your project but I will download it , in the hope that if I ever get to that in my OS it will help