| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
minor style updates for Scaladoc formatting
|
| |
| |
| |
| |
| | |
- lighten hover highlight color for higher text/background contrast
- adjust border-left for div.members to prevent content shifts on-hover
|
|\ \
| | |
| | | |
Replace JoinIterator & improve ConcatIterator
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The new `ConcatIterator` requires only one extra lightweight wrapper
object (cons cell) to be allocated compared to `JoinIterator`. All
additional concatenations are then done in place with one cons cell per
appended iterator.
Running 1000000 iterations of the following benchmark for LHS recursion:
```
def lhs(n: Int) =
(1 to n).foldLeft(Iterator.empty: Iterator[Int])((res, _) => res ++ Iterator(1)).sum
```
On 2.12.x before SI-9623 fix:
```
$ ../scala/build-sbt/quick/bin/scala -J-Xmx1024M -nc concatit.scala
1000000: 555ms
1000000: 344ms
1000000: 397ms
1000000: 309ms
1000000: 290ms
1000000: 283ms
1000000: 282ms
1000000: 281ms
1000000: 290ms
1000000: 279ms
```
With SI-9623 fix:
```
$ ../scala/build-sbt/quick/bin/scala -J-Xmx1024M -nc concatit.scala
1000000: 610ms
1000000: 324ms
1000000: 387ms
1000000: 315ms
1000000: 296ms
1000000: 300ms
1000000: 341ms
1000000: 294ms
1000000: 291ms
1000000: 281ms
```
With this version:
```
$ ../scala/build-sbt/quick/bin/scala -J-Xmx1024M -nc concatit.scala
1000000: 362ms
1000000: 162ms
1000000: 140ms
1000000: 150ms
1000000: 110ms
1000000: 57ms
1000000: 79ms
1000000: 109ms
1000000: 120ms
1000000: 49ms
```
And for RHS recursion:
```
def rhs(n: Int) =
(1 to n).foldLeft(Iterator.empty: Iterator[Int])((res, _) => Iterator(1) ++ res).sum
```
On 2.12.x before SI-9623 fix:
```
StackOverflowError
```
With SI-9623 fix:
```
StackOverflowError
```
With this version:
```
$ ../scala/build-sbt/quick/bin/scala -J-Xmx1024M -nc concatit.scala
1000000: 3156ms
1000000: 1536ms
1000000: 1240ms
1000000: 1575ms
1000000: 439ms
1000000: 706ms
1000000: 1043ms
1000000: 1211ms
1000000: 515ms
1000000: 314ms
```
|
|\ \ \
| | | |
| | | | |
Add back to search for Scaladoc
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
felixmulder/topic/scaladoc-search-types-and-classes
Add type and class/trait member search, fixes SI-9721 and SI-9722
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Inline super calls, as they are statically resolved
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ensures that mixin methods of `@inline` annotated concrete trait methods
inline the trait method.
Fixes https://github.com/scala/scala-dev/issues/86
|
|\ \ \ \
| | | | |
| | | | | |
Fix a bug in multi-dimensional array creation
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
`']' * 5` is not `]]]]]` but `245`.
I guess this code is never executed, because it would never work.
|
|\ \ \ \
| | | | |
| | | | | |
Remove deprecated Predef.error
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
error was deprecated in 2.9.0 but remained to ensure compatibility with sbt.
This changes follows on from an update to the latest sbt version (0.13.11).
|
|\ \ \ \
| |/ / /
|/| | | |
Seal collection classes that were annotated with deprecatedInheritance in 2.11.0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
They were all annotated with `@deprecatedInheritance` in 2.11.0. Some
deprecated classes are moved to new source files in order to seal the
parent class. The package-private class `DoublingUnrolledBuffer` is
moved from `scala.collection.parallel.mutable` to
`scala.collection.mutable` in order to seal `UnrolledBuffer`.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix scaladoc scroll and auto-expand on permalinks
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Member description auto-expands
* If member comes from implicits is now becomes visible
* Member is no longer hidden by search bar after scrolling
* Permalink button now works when member is in a group (scrolling is still broken)
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Merge 2.11 to 2.12
|
| |\ \ \ \ |
|
| | |\ \ \ \
| | | | | | |
| | | | | | | |
Update IntelliJ build for use with sbt
|
| | | | | | | |
|
| |\| | | | | |
|
| | |\ \ \ \ \
| | | | | | | |
| | | | | | | | |
SI-9488 - adds the same default toString format to Scala Futures as 2…
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Includes tests to verify the toString representations.
|
| | |\ \ \ \ \ \
| | | |/ / / / /
| | |/| | | | | |
upgrade to latest scala-xml (namely 1.0.5)
|
| | | |\ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
there shouldn't be user-visible changes since 1.0.4, but regardless,
it's good to depend on the latest
|
| | | | | | | | | |
|
| |\ \ \ \ \ \ \ \
| | | |_|_|/ / / /
| | |/| | | | | | |
|
| | |/ / / / / / |
|
| |\| | | | | | |
|
| | |\ \ \ \ \ \
| | | |_|/ / / /
| | |/| | | | | |
bundle a newer Akka actors jar
|
| | | |\ \ \ \ \
| | | |/ / / / /
| | |/| | | | | |
|
| | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
might as well let people have the current stuff. I asked the
Akka folks and nobody saw a reason not to upgrade. this
version of Akka is the latest in the 2.3.x series, but is
also some months old, so no stability worries.
(this would have been included in 2.11.8 if I had thought of
it in time)
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Improve documentation of `GenSeqLike#length`
|
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | | |
invocation of length method
|
|\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | | |
SI-9314 Marginal edge case to warn-missing-interp
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Use the sym test on an expr that happens to be a subset of
idents and is not in scope. Other `${ operator_* }` warn.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
As an Easter egg, let "${} $x" forego the check on `x`.
In other words, empty expression interpolation looks too
degenerate to check.
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Edge cases of things not to warn about
include package names.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Enable -YclasspathImpl:flat by default
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
:require was re-incarnated in https://github.com/scala/scala/pull/4051,
it seems to be used by the spark repl. This commit makes it work when
using the flat classpath representation.
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Implements VirtualDirectoryFlatClassPath, which is required for the
presentation compiler created for the repl's tab-completion.
Various minor cleanups in the flat classpath implementation.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Resolve several deprecation warnings
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Replace it with SyncVar#put
|
| | | | | | | |
|