| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This is necessary because toolboxes will no longer be available from the library.
Christopher Vogt will take care of the second reincarnation of DynamicRef.
|
|
|
|
|
|
|
|
|
| |
As a result, hardwired macros don't need implementation stubs.
This is very important, because in a few commits scala.reflect.makro.Context
will move out from scala-library.jar.
Also adding fast track entries doesn't require jumping through hoops
with PDTs. It's as simple as defining PartialFunction[Tree, Any].
|
| |
|
|\
| |
| | |
Fixes SI-5857. More efficient min and max in Range and NumericRange
|
| |
| |
| |
| |
| |
| |
| |
| | |
Override `min` and `max` in `Range` and `NumericRange`
to check if a default `Ordering` for the numeric type
in question is used.
If so, bypass traversal and compute the minimum or
maximum element.
|
|\ \
| | |
| | | |
Add the first iteration of the `util.hashing` package.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move `MurmurHash3` to `util.hashing`.
Make the `class` private and retain a public companion
`object`, and put the `MurmurHash3.Hashing` implementations
for various types in the companion.
Add a method which composes `ByteswapHashing` with some other hashing.
Rename `hashOf` to `hash`.
Fix chi-square test in a test-case.
Review by @jsuereth.
Moved a failing test that seems to use some other library version to pending.
|
|/ /
| |
| |
| |
| | |
Rather than stub implementations. This saves over 50K of bytecode.
I also added the necessary imports to silence the feature warnings.
|
|\ \
| | |
| | | |
Fixes typos in scaladoc of Orderes.scala
|
| |/ |
|
|\ \
| | |
| | | |
Fix SI-5880.
|
| |/
| |
| |
| | |
Add a ChiSquare test for the new hash code.
|
|\ \
| | |
| | | |
Fix SI-5867.
|
| |/
| |
| |
| | |
Override clone for unrolled buffer.
|
|\ \
| | |
| | | |
Fix SI-5879.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix a bug where a key in an immutable hash map
have the corresponding value different in the iteration
than when doing lookup. This use to happen after calling
`merge`.
Fix the order in which a key-value pair appears in
the collision resolution function - the first argument
always comes from the `this` hash map.
Deprecate `merge` in favour of `merged`, as this is
a pure method.
As an added benefit, the syntax for invoking `merge`
is now nicer.
|
|/ |
|
|
|
|
|
|
| |
Move `Hashing` to `scala.util.hashing`.
Adde `Hashing.Default` to `Hashing` companion object.
Change `TrieMap` to autoswitch from `Hashing.Default` to `TrieMap.MangledHashing`.
|
|
|
|
| |
Make Equiv serializable.
|
|
|
|
|
|
| |
Modify TrieMap to use hashing and equality.
Modify serialization in TrieMap appropriately.
|
| |
|
|
|
|
| |
Who could have suspected it would actually be right most of the time?
|
|\
| |
| | |
Fixes SI-5085 and SI-4833.
|
| | |
|
|\ \
| | |
| | | |
Fixes SI-5428.
|
| |/ |
|
|\ \
| | |
| | | |
Move implicit ExecutionContext to be determined by lexical scope
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Port of a pull request originally submitted by @havocp.
- declare the invariant that all app callbacks have an
associated ExecutionContext provided at the place
the callback is passed to a method on Future
- always run callbacks in their associated EC
- since all callbacks have their own EC, Promise
does not need one
- "internal" callbacks don't need to defer execution either
since we know the ultimate app callback will do so,
therefore we can use an immediate executor for these
|
|/ |
|
|\
| |
| | |
Fixes SI-5804.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The hash table initialSize method is now within
the the hashset and hashmap classes, and not in the companion.
Overriding this method now yields hashmaps and hashsets
of the proper initial capacity.
Review by @phaller.
|
|\ \
| | |
| | | |
Fixes SI-4461.
|
| |/
| |
| |
| | |
No review.
|
|\ \
| | |
| | | |
SIP-14: clean ups and fixes by @viktorklang
|
| | | |
|
| |/
|/| |
|
|\ \
| | |
| | | |
fixes resetAttrs
|
| | | |
|
|/ / |
|
| | |
|
|\| |
|
| |\
| | |
| | | |
mutable.MapLike: override $mapNote to reflect actual require mutable api
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The api needed to define a mutable.Map is different then the one
needed to define an immutable.Map. Prior to this patch the mutable one
reflected the api needed for the immutable one causing confusion about
what really needed to be defined.
|
| |\ \
| | | |
| | | | |
Small documentation fixes & small fix to Scaladoc @see formatting
|
| | | | |
|
| | | | |
|
| | | | |
|
|/ / / |
|
| |/
|/| |
|
| |
| |
| |
| | |
Culling accumulated unnecessary code.
|