Skip to content

Commit

Permalink
Performance Enhancements (#6)
Browse files Browse the repository at this point in the history
* Rebuilt the XCode project as a Package
* Removed most protocols in favor of public struct objects
* Increased performance all around
* Added an option to pass in pre-validated GeoJson which is parsed without validation. This will have a a significant performance boost with the side effect of the application crashing if the GeoJson was not validated. The older parse methods still validate but should only need to be run once when pulling in new data and thereafter can be considered validated.
* Large performance boost for Geohash coding and neighbors
* Significant API changes
* TimberSwift is no longer a dependency in favor of now passing back invalid geo json errors.
  • Loading branch information
schlingding authored Jan 28, 2020
1 parent fe31ecf commit 4403c6c
Show file tree
Hide file tree
Showing 95 changed files with 3,446 additions and 5,734 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Mac OS X
.DS_Store

# Xcode

## Build generated
build/
DerivedData

## Tools
Tools/

## Various settings
*.pbxuser
!default.pbxuser
Expand Down Expand Up @@ -36,6 +37,6 @@ playground.xcworkspace
.build/

# Carthage
Carthage
Carthage/Build

.gitbackup
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1
5.1.2
1 change: 0 additions & 1 deletion Cartfile

This file was deleted.

1 change: 0 additions & 1 deletion Cartfile.resolved

This file was deleted.

25 changes: 25 additions & 0 deletions GeospatialSwift.xcodeproj/GeospatialSwiftTests_Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
25 changes: 25 additions & 0 deletions GeospatialSwift.xcodeproj/GeospatialSwift_Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
4,251 changes: 1,356 additions & 2,895 deletions GeospatialSwift.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key>
<false/>
</dict>
</plist>

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4403c6c

Please sign in to comment.