Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Further optimization #58

Open
wongjiahau opened this issue Sep 14, 2017 · 0 comments
Open

Further optimization #58

wongjiahau opened this issue Sep 14, 2017 · 0 comments

Comments

@wongjiahau
Copy link
Owner

Optimized the permutator code by binarizing slots.
So a global dictionary to refer slot with binarized slot is needed. (they shall be referenced using SID, the slot identifier)
Could consider storing all info of a slot within one or two integer.
E.g.
First seven bit(max=128) use to identify subjects
Next two bit(max=4) to identify slot type (L/T/P)
Next six bit(max=64) to identify slot number,
Next three bit(max=8) to identify day (Mon/Tue ... )
And so on, and so forth

@wongjiahau wongjiahau added this to the Performance optimization milestone Sep 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant