Grammalecte  Check-in [2487af3aeb]

Overview
Comment:[build] don’t use more processes than necessary
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | build
Files: files | file ages | folders
SHA3-256: 2487af3aebe1a7fd1574501e700de24e885d33bfe8cc61230fa04eb8507cdca1
User & Date: olr on 2020-04-20 06:41:36
Other Links: manifest | tags
Context
2020-04-20
09:38
[fr] ajustements check-in: 8c714ac3f5 user: olr tags: trunk, fr
06:41
[build] don’t use more processes than necessary check-in: 2487af3aeb user: olr tags: trunk, build
2020-04-19
11:14
[fr] ajustements check-in: 3c1b141d21 user: olr tags: trunk, fr
Changes

Modified compile_rules_graph.py from [07d8ba5d53] to [53e75517b3].

542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
            iActionBlock += 1
        else:
            print("Unknown line at:", iLine)
            print(sLine)

    # processing rules
    print("  processing graph rules...")
    initProcessPoolExecutor()
    fStartTimer = time.time()
    # build graph
    lResult = []
    nRule = 0
    for sGraphName, lRuleLine in dAllGraph.items():
        nRule += len(lRuleLine)
        try:







|







542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
            iActionBlock += 1
        else:
            print("Unknown line at:", iLine)
            print(sLine)

    # processing rules
    print("  processing graph rules...")
    initProcessPoolExecutor(len(dAllGraph))
    fStartTimer = time.time()
    # build graph
    lResult = []
    nRule = 0
    for sGraphName, lRuleLine in dAllGraph.items():
        nRule += len(lRuleLine)
        try: