Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
SalvatorePreviti committed Jan 6, 2022
1 parent f84d6d0 commit bf552fc
Show file tree
Hide file tree
Showing 16 changed files with 5,074 additions and 3,403 deletions.
38 changes: 31 additions & 7 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,46 @@ DisableFormat: false
BasedOnStyle: Chromium
IndentWidth: 2
UseTab: Never
ColumnLimit: 160
ColumnLimit: 125
NamespaceIndentation: All
AlignAfterOpenBracket: DontAlign
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: false
AlignConsecutiveBitFields: false
AlignConsecutiveDeclarations: false
AlignConsecutiveMacros: false
AlignTrailingComments: false
AlignEscapedNewlines: Left
AlignOperands: false
BitFieldColonSpacing: After
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AlignOperands: false
AlignTrailingComments: false
AlwaysBreakBeforeMultilineStrings: true
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLambdasOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: false
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AlwaysBreakTemplateDeclarations: true
BreakBeforeTernaryOperators: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
LambdaBodyIndentation: Signature
PointerAlignment: Middle
BinPackArguments: true
BinPackParameters: false
BinPackArguments: false
MaxEmptyLinesToKeep: 1
BreakBeforeBraces: Attach
BreakBeforeConceptDeclarations: true
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
IndentPPDirectives: AfterHash
SortIncludes: false
SortUsingDeclarations: true

---
Language: JavaScript
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "src/cpp/CRoaringUnityBuild"]
path = src/cpp/CRoaringUnityBuild
url = https://github.com/lemire/CRoaringUnityBuild
[submodule "submodules/CRoaring"]
path = submodules/CRoaring
url = https://github.com/RoaringBitmap/CRoaring.git
67 changes: 67 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,72 @@
"**/*.tsbuildinfo": true,
"**/.yarn-integrity": true,
"**/.grunt": true
},
"files.associations": {
"__bit_reference": "cpp",
"__config": "cpp",
"__debug": "cpp",
"__errc": "cpp",
"__functional_base": "cpp",
"__hash_table": "cpp",
"__locale": "cpp",
"__mutex_base": "cpp",
"__node_handle": "cpp",
"__nullptr": "cpp",
"__split_buffer": "cpp",
"__string": "cpp",
"__threading_support": "cpp",
"__tree": "cpp",
"__tuple": "cpp",
"algorithm": "cpp",
"array": "cpp",
"atomic": "cpp",
"bit": "cpp",
"bitset": "cpp",
"cctype": "cpp",
"chrono": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"complex": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"exception": "cpp",
"functional": "cpp",
"initializer_list": "cpp",
"ios": "cpp",
"iosfwd": "cpp",
"istream": "cpp",
"iterator": "cpp",
"limits": "cpp",
"locale": "cpp",
"map": "cpp",
"memory": "cpp",
"mutex": "cpp",
"new": "cpp",
"numeric": "cpp",
"optional": "cpp",
"ostream": "cpp",
"ratio": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"string": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"typeinfo": "cpp",
"unordered_map": "cpp",
"utility": "cpp",
"vector": "cpp",
"__bits": "cpp",
"roaring.c": "cpp"
}
}
6 changes: 4 additions & 2 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
{
"target_name": "roaring",
"default_configuration": "Release",
"cflags_cc": ["-O3", "-std=c++14"],
"cflags_cc": ["-O3", "-std=c++14", "-mcpu=native", "-fno-rtti", "-fno-exceptions", "-fvisibility=hidden", "-flto"],
'xcode_settings': {
'OTHER_CFLAGS': ["-O3", "-std=c++14", "-mcpu=native", "-fno-rtti", "-fno-exceptions", "-fvisibility=hidden", "-flto"],
},
"sources": [
"src/cpp/v8utils/v8utils.cpp",
"src/cpp/RoaringBitmap32.cpp"
],
"conditions": [
Expand Down
Loading

0 comments on commit bf552fc

Please sign in to comment.