Added speedup project code.
This commit is contained in:
		
							
								
								
									
										65
									
								
								content/posts/python-speedup/code/.clang-format
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										65
									
								
								content/posts/python-speedup/code/.clang-format
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,65 @@
 | 
			
		||||
---
 | 
			
		||||
Language: Cpp
 | 
			
		||||
BasedOnStyle: LLVM
 | 
			
		||||
 | 
			
		||||
AccessModifierOffset: -2
 | 
			
		||||
AlignAfterOpenBracket: Align
 | 
			
		||||
AlignConsecutiveMacros: true
 | 
			
		||||
AlignConsecutiveAssignments: true
 | 
			
		||||
AlignEscapedNewlines: Right
 | 
			
		||||
AlignOperands: false
 | 
			
		||||
AlignTrailingComments: true
 | 
			
		||||
AllowAllArgumentsOnNextLine: true
 | 
			
		||||
AllowAllConstructorInitializersOnNextLine: true
 | 
			
		||||
AllowAllParametersOfDeclarationOnNextLine: true
 | 
			
		||||
AllowShortBlocksOnASingleLine: true
 | 
			
		||||
AllowShortCaseLabelsOnASingleLine: true
 | 
			
		||||
AllowShortFunctionsOnASingleLine: Empty
 | 
			
		||||
AllowShortIfStatementsOnASingleLine: Never
 | 
			
		||||
AllowShortLambdasOnASingleLine: All
 | 
			
		||||
AllowShortLoopsOnASingleLine: false
 | 
			
		||||
AlwaysBreakAfterDefinitionReturnType: None
 | 
			
		||||
AlwaysBreakAfterReturnType: None
 | 
			
		||||
AlwaysBreakBeforeMultilineStrings: false
 | 
			
		||||
AlwaysBreakTemplateDeclarations: Yes
 | 
			
		||||
BreakBeforeBraces: Attach
 | 
			
		||||
BreakBeforeTernaryOperators: false
 | 
			
		||||
BreakConstructorInitializers: AfterColon
 | 
			
		||||
ColumnLimit: 180
 | 
			
		||||
CompactNamespaces: false
 | 
			
		||||
ConstructorInitializerAllOnOneLineOrOnePerLine: false
 | 
			
		||||
ExperimentalAutoDetectBinPacking: false
 | 
			
		||||
FixNamespaceComments: false
 | 
			
		||||
IncludeBlocks: Preserve
 | 
			
		||||
IndentCaseLabels: true
 | 
			
		||||
IndentWidth: 4
 | 
			
		||||
PointerAlignment: Left
 | 
			
		||||
ReflowComments: false
 | 
			
		||||
SortIncludes: false
 | 
			
		||||
SortUsingDeclarations: false
 | 
			
		||||
SpaceAfterCStyleCast: false
 | 
			
		||||
SpaceAfterLogicalNot: false
 | 
			
		||||
SpaceAfterTemplateKeyword: true
 | 
			
		||||
SpaceBeforeCtorInitializerColon: true
 | 
			
		||||
SpaceBeforeInheritanceColon: true
 | 
			
		||||
SpaceBeforeParens: ControlStatements
 | 
			
		||||
SpaceBeforeRangeBasedForLoopColon: true
 | 
			
		||||
SpaceInEmptyParentheses: false
 | 
			
		||||
SpacesBeforeTrailingComments: 1
 | 
			
		||||
SpacesInAngles: false
 | 
			
		||||
SpacesInCStyleCastParentheses: false
 | 
			
		||||
SpacesInContainerLiterals: false
 | 
			
		||||
SpacesInParentheses: false
 | 
			
		||||
SpacesInSquareBrackets: false
 | 
			
		||||
Standard: Auto
 | 
			
		||||
TabWidth: 4
 | 
			
		||||
UseTab: Never
 | 
			
		||||
 | 
			
		||||
AllowShortEnumsOnASingleLine: false
 | 
			
		||||
 | 
			
		||||
BraceWrapping:
 | 
			
		||||
  AfterEnum: false
 | 
			
		||||
 | 
			
		||||
AlignConsecutiveDeclarations: AcrossEmptyLines
 | 
			
		||||
 | 
			
		||||
NamespaceIndentation: All
 | 
			
		||||
		Reference in New Issue
	
	Block a user