Skip to content

Conversation

@MihirLuthra
Copy link

The shared memory is completely ready just as planned.
This pull request updates the names being used in ctrie.h to refer to newly created ones.

Also, as per the tests, this combination of ctrie + shm_alloc when supplied with 10000 random strings of size 60 yields the result in 1 second whereas the previously used dtsharedmemory yields results in 4 seconds. So I believe this works better.
Athough shm_calloc() is still 10x slower than calloc(2).

What is left,

  1. is to update ctrie to ref count and free() uneeded memory. I belief that should make the processing much faster.
  2. Documentation and comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant