-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove total slice buffer and reuse buffer from loader #569
remove total slice buffer and reuse buffer from loader #569
Conversation
Thanks for your work! My problem is that you seem to have removed the frame extra dimension, If I understand your code, you consider the first dimension to be either frame or slice. The buffer is supposed to be an array of arrays, the first dimension being the frame and then the slice. The idea is to support data as the one provided in #493. |
hm... I see, didn't know that. |
At the moment, there are just 2: |
…euse_from_loader' into remove_total_slices_buffer_and_reuse_from_loader
ok, i rewrote it to use 3d buffer. |
Looking good! So how does it compare to the current version of the code? Storing the 3D data in a huge 1d array is kind of old fashion, I'm not sure there is a real benefit compared to this array of array solution. |
we don't need to copy the buffer anymore, therefore gain some performance. also garbage collection is reduced. Depending on the 3d data size, the performance (for buffer handling) is improved by ((numberOfSlices - 1)/2) times. |
is there somethink i need to change get this merged? |
No, looking good, I was just finishing the 0.24.1patch release. |
And now, I'm reviving the dcmbench project to evaluate your changes, I'm nearly there... |
Looking good on the default demo data of dcmbench, will integrate soon. |
I know its an old one, but I need more time to investigate... |
Closing for now, follow #905 for new strategy. |
for performane reason
this commit obsoletes #548 and #558