Visitar URL original
PaletteGenerator: Optimize histogram creation by tarobins · Pull Request #67 · flutter/packages · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
140de2e
Add logs
tarobins Jan 18, 2020
5970861
Add timing to test
tarobins Jan 18, 2020
4550af2
add obama test
tarobins Jan 18, 2020
1867ce2
add obama to demo
tarobins Jan 19, 2020
9335412
track last color
tarobins Jan 18, 2020
207617f
Clean up code
tarobins Jan 19, 2020
869da5c
Clean up code
tarobins Jan 19, 2020
adde10c
Merge branch 'optimizeHistogram' of github.com:tarobins/packages into…
tarobins Jan 19, 2020
da3a598
Fix env file
tarobins Jan 19, 2020
f98b405
Switch to splay tree
tarobins Jan 19, 2020
0481cfd
Revert "Switch to splay tree"
tarobins Jan 19, 2020
b162805
Use multidimensional hashmap
tarobins Jan 20, 2020
659f279
Clean up code
tarobins Jan 19, 2020
9ae1747
Clean up code
tarobins Jan 19, 2020
bb6b281
Fix env file
tarobins Jan 19, 2020
9853557
Switch to splay tree
tarobins Jan 19, 2020
66228af
Revert "Switch to splay tree"
tarobins Jan 19, 2020
b654451
Merge branch 'optimizeHistogram' of github.com:tarobins/packages into…
tarobins Jan 20, 2020
d09db0f
fix type spec
tarobins Jan 20, 2020
027355c
Fix spacing
tarobins Jan 20, 2020
ac4034b
Use list for keys
tarobins Jan 21, 2020
6114c2f
Clean up code
tarobins Jan 19, 2020
11d896d
Clean up code
tarobins Jan 19, 2020
45794c6
Fix env file
tarobins Jan 19, 2020
a1bcf9b
Revert "Switch to splay tree"
tarobins Jan 19, 2020
61817d4
Clean up code
tarobins Jan 19, 2020
8de3b0a
Clean up code
tarobins Jan 19, 2020
2a7e71f
fix type spec
tarobins Jan 20, 2020
cd5c678
Fix spacing
tarobins Jan 20, 2020
8a11f81
Merge branch 'optimizeHistogram' of github.com:tarobins/packages into…
tarobins Jan 21, 2020
c9054b9
format fix
tarobins Jan 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Switch to splay tree"
This reverts commit f98b405.
  • Loading branch information
tarobins committed Jan 20, 2020
commit 66228af6b5b45b1168783e732721e639ffe4fc66
2 changes: 0 additions & 2 deletions packages/palette_generator/lib/palette_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// found in the LICENSE file.

import 'dart:async';
import 'dart:collection';
import 'dart:math' as math;
import 'dart:typed_data';
import 'dart:ui' as ui;
Expand Down Expand Up @@ -1023,7 +1022,6 @@ class _ColorCount {
}

class _ColorHistogram {

final Map<int, Map<int, Map<int, _ColorCount>>> _hist =
<int, Map<int, Map<int, _ColorCount>>>{};
final Set<Color> _keys = <Color>{};
Expand Down