-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indexed arrays for performance and safety (#17)
* Fix varnames (no extra tuple) Remove test Manifest * Update Readme * Testing with typed dictionaries for cache * * Fix performance issue * Started working on storing legal values * Convenience constructors and safe_insert! * Formatting * Add exports, consistent return from safe_insertvar * Add tests for IndexedVarArray * Compatibility fix for julia < 1.8 * Update JuliaFormatter * Formatting fixes (not using VS Code) * Formatting * Improve test coverage * Fix clear_cache! * Drop slices compiletime for performance * Cleanup, delete unused functions + formatting * Fix corner case for tuple concatenation. Delete unused function _has_index * Formatting fix * Fix indexing on string with slicing * Switch names of inservar! for IndexedVarArrays Default to safe insertion * Cleanup, more informative function name * Updated benchmarks from talk * Formatting fixes * Prep for release Co-authored-by: Lars Hellemo <[email protected]>
- Loading branch information
Showing
13 changed files
with
3,760 additions
and
236 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
name = "SparseVariables" | ||
uuid = "2749762c-80ed-4b14-8f33-f0736679b02b" | ||
authors = ["Truls Flatberg <[email protected]>", "Lars Hellemo <[email protected]>"] | ||
version = "0.6.1" | ||
version = "0.6.2" | ||
|
||
[deps] | ||
Dictionaries = "85a47980-9c8c-11e8-2b9f-f7ca1fa99fb4" | ||
JuMP = "4076af6c-e467-56ae-b986-b466b2749572" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
Requires = "ae029012-a4dd-5104-9daa-d747884805df" | ||
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" | ||
|
||
|
@@ -14,4 +15,4 @@ Dictionaries = "0.3" | |
JuMP = "1" | ||
Requires = "1.3" | ||
Tables = "1.7" | ||
julia = "1.6" | ||
julia = "1.6" |
This file contains 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
Oops, something went wrong.