This file contains hidden or 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
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "escape", | |
"command": "editor.action.inlineSuggest.hide", | |
"when": "suggestWidgetVisible" | |
}, | |
{ | |
"key": "escape", | |
"command": "hideSuggestWidget", |
This file contains hidden or 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
def run_parallel(fn, pool_args, n_processes=0): | |
"""Function used to run a given closure in parallel. | |
NOTE: This function was originally located in the shell module of | |
swift_build_support and should eventually be replaced with a better | |
parallel implementation. | |
""" | |
if n_processes == 0: | |
n_processes = cpu_count() * 2 |
This file contains hidden or 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
def run_parallel(fn, pool_args, n_processes=0): | |
"""Function used to run a given closure in parallel. | |
NOTE: This function was originally located in the shell module of | |
swift_build_support and should eventually be replaced with a better | |
parallel implementation. | |
""" | |
if n_processes == 0: | |
n_processes = cpu_count() * 2 |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import sys | |
import update_checkout | |
if __name__ == '__main__': | |
# This line was added in dfe3af81b2 to address an importing issue on | |
# Windows. It causes this script to break badly when used with | |
# Python 3.8 on macOS. Disabling for all Python 3 until someone |
This file contains hidden or 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
Before | After | |||||
---|---|---|---|---|---|---|
2.10s user 0.53s system 20% cpu 12.784 total | 2.08s user 0.51s system 20% cpu 12.629 total | |||||
2.11s user 0.50s system 20% cpu 12.896 total | 2.09s user 0.50s system 20% cpu 12.802 total | |||||
2.12s user 0.50s system 20% cpu 12.720 total | 2.07s user 0.52s system 20% cpu 12.793 total | |||||
2.10s user 0.51s system 20% cpu 12.905 total | 2.08s user 0.53s system 20% cpu 12.768 total | |||||
2.05s user 0.47s system 20% cpu 12.638 total | 2.07s user 0.53s system 20% cpu 12.710 total | |||||
2.12s user 0.52s system 20% cpu 12.569 total | 2.05s user 0.50s system 19% cpu 12.846 total | |||||
2.14s user 0.53s system 20% cpu 12.792 total | 2.07s user 0.50s system 20% cpu 12.514 total |
This file contains hidden or 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
import SwiftUI | |
struct TokenColor { | |
var text : Color | |
var background : Color | |
} | |
extension String : Identifiable { |
This file contains hidden or 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
bplist00‘ | |
X$versionY$archiverT$topX$objects ܆_NSKeyedArchiver— TrootĶ%U$null’ | |
\NSComponentsUNSRGB\NSColorSpace_NSCustomColorSpaceV$classO(0.4156862745 0.4941176471 0.5490196078 1O&0.3428871334 0.4180642962 0.475117445 ÄÄ”TNSIDUNSICCÄÄOH HLino mntrRGB XYZ Œ 1 acspMSFT IEC sRGB ˆ÷ ”-HP cprt P 3desc Ñ lwtpt bkpt rXYZ gXYZ , bXYZ @ dmnd T pdmdd ƒ àvued L Üview ‘ $lumi ¯ meas $tech 0 rTRC < |