-
Notifications
You must be signed in to change notification settings - Fork 11
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
Iterblocks #24
Iterblocks #24
Conversation
8b96e97
to
af1eaf6
Compare
This branch contains no new features but takes advantage of iterblocks to avoid code duplication while dealing chunks and leftovers. Refactoring is based on #16 In terms of performance I experienced the same orders of magnitude compared to master (sometimes a bit slower, sometimes even faster). While refactoring I did my best but I might have written some new lines of code which might be optimized. Of course still some further testing is needed (I'll be working on that) @CarstVaartjes & @esc between the different options we have, iterblocks and chunks iterator (atm not yet working), which one should be the way to go? |
@FrancescElies I very much like the clean look of iterblocks. Certainly
do not let the parallel processing considerations stop you. The old
version will still be around should it be needed eventually.
I tried to integrate iterblocks into my parallel processing branch. It
makes things much easier from a program logic point of view. - I just
cannot get rid of some pesky duplicates appearing in the hash table.
This is new with iterblocks. It is particularly puzzling since
iterblocks changes nothing in the relevant code part... I am suspecting
some subtle synchonizing issue that always existed but only manifests
now, so this might take a while.
|
@ARF1 I don't know if you are working on top of this branch, but would you be ok if I rebase on top of master? Since we already merged #16, templating commits are a distraction when one looks at 'Files changed'. If you could share your parallel processing branch with iterblocks I would love to have a look at it too. |
By the way if you already tried iterblocks did you experience any difference in terms of performance? |
fe93001
to
28bdd7d
Compare
@FrancescElies FrancescElies Please feel free to rebase. I have a (non-functional) parallel processing iterblocks branch based on Once I am done with the latter I will share them for you to look at. I Maybe you can figure out what is going on. BTW: with my functional |
hi @FrancescElies :) how are you? just wondering -> is this still applicable with the latest version of bcolz? (and are left over arrays included there?) |
Hi Carst, |
As busy as ever here :/ but otherwise good :) I think this is pre-template switch, but i'll rob the implementation in a new branch then ;) |
If I remember correctly it was working, at least as far as I can see that's On Sun, Sep 27, 2015 at 9:17 PM, Carst Vaartjes notifications@github.com
|
closing |
trying iterblocks as suggested in Blosc/bcolz#153