Skip to content

Commit

Permalink
max len of 1e5 for blocks is too much. python gets bumped to disk, i …
Browse files Browse the repository at this point in the history
…think, or somehting like that. very slow
  • Loading branch information
corinwagen committed Jan 22, 2021
1 parent bc91ecd commit 6e53914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cctk/parse_gaussian.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def split_link1(filename):

return link1_blocks[1:] #### the first block is just a few lines

def read_file_fast(file_text, filename, link1idx, max_len=100000, extended_opt_info=False):
def read_file_fast(file_text, filename, link1idx, max_len=20000, extended_opt_info=False):

#### "Make your bottleneck routines fast, everything else clear" - M. Scott Shell, UCSB
#### Welcome to the fast part!
Expand Down

0 comments on commit 6e53914

Please sign in to comment.