Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: dart/runtime/lib/compact_hash.dart

Issue 1013543005: Patch for mergeing 44671 to 1.9 branch, the whitespace changes makes it conflict big time (Closed) Base URL: http://dart.googlecode.com/svn/branches/1.9/
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/lib/compact_hash.dart
===================================================================
--- dart/runtime/lib/compact_hash.dart (revision 44671)
+++ dart/runtime/lib/compact_hash.dart (working copy)
@@ -85,7 +85,7 @@
bool get isNotEmpty => !isEmpty;
void _rehash() {
- if ((_deletedKeys << 1) > _usedData) {
+ if ((_deletedKeys << 2) > _usedData) {
// TODO(koda): Consider shrinking.
// TODO(koda): Consider in-place compaction and more costly CME check.
_init(_index.length, _hashMask, _data, _usedData);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698