-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use unsafe Array initialization to avoid manually counting number of …
…None's The number of standard gates is specified by STANDARD_GATE_SIZE. To add a gate, the dev has to read the value from one source file, then add (possible count) `None`s in two places in another file to initialize arrays. After learning it all once it's not so bad, but it still could be better. After this commit the dev is required to change only the value of STANDARD_GATE_SIZE.
- Loading branch information
Showing
1 changed file
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters