| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This implementation is based on AVL trees.
The current implementation is contributed by Lucien Pereira.
Fixes #4147.
|
|
|
|
| |
This should have been done a long time ago, when .classpath was renamed to .classpath.SAMPLE. Both files are needed to import the scala compiler in Eclipse, and having just one guarantees a broken project.
|
|
|
|
| |
Let type parameter be inferred. Closes SI-4871.
|
| |
|
|\
| |
| |
| | |
'jsuereth/fix-5053-view-unzip' into develop
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Added unzip and unzip3 to TraversableViewLike
* Added partest tests for unzip on views returning specific collection types.
Closes SI-5053
Review by @paulp
|
| |
| |
| |
| |
| | |
Deprecated since 2.8.0 but causing far too much inconvenience
by not being present.
|
| |
| |
| |
| |
| |
| |
| | |
This is not a long-term implementation - I haven't even benchmarked
it -- don't worry. I did find a fairly gross bug in the version I
checked in a few days ago so I wanted to erase that from the repository
memory for the weekend.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Remove some dead code, activate ByOne generator again, add generators
for inclusive ranges, add generators that concentrate on the boundaries,
and add some print statements next to exceptions that might get eaten
by out of memory errors.
|
| |
| |
| |
| | |
Closes SI-4024.
|
| |
| |
| |
| |
| | |
No StringBuilder, no closure, no toHexString, no string concatenation,
no unnecessary math, no call to reverse, only the necessary allocation.
|
| | |
|
| | |
|
| |\ |
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | | |
'kepler/ticket/5295' and 'blair/clarify-Map-withDefaultValue' into develop
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Copy the documentation from Map#withDefault() that get(), contains(),
iterator(), and keys() keys are not affected by withDefaultValue().
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Usually scripts like scala.bat and scalac.bat correctly propagate
exit codes from underlying Java invocations. However, if you run these
scripts as follows: "cmd /c scala ...", then errorlevel gets swallowed.
This simple patch fixes the aforementioned problem.
Fixes SI-5295, no review.
|
| | | |/ /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When tracking a problem in type inference during reflective compilation,
Martin and I have discovered that under certain circumstances typeParams
does not fully load the type.
During a debugging session we found out that info first had the type of
TopLevelCompleter, and after the load it was still not completed, having
the type of UnPickler$something$LazyTypeRef.
After that discovery it became apparent that typeParams need to behave
similarly to the info getter - allow for two completions, not just one.
Review by @odersky, @adriaanm.
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflicts:
build.xml
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Backporting auto starr download to 2.8.x and 2.9.x build.xmls.
Trying to get build strings consistent.
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
To get the same benefit as in Range. Review by @prokpec.
|
| | | |/ / /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This makes code like
0 to 100 foreach (x += _)
as fast as (often faster than, in fact) a while loop. See the
comment in Range for the gory details. More investigation should
be done regarding total impact on inlining behavior.
Review by @odersky.
|
| |\ \ \ \ \
| | | |/ / /
| | |/| | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reintroduced date and an "r" to meet IDE needs. Moved reference
commit backward to accomodate 2.8.x. Merging changes into 2.8.x,
2.9.x, and master.
|
| |\| | | |
| | |/ / /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Now that I've resorted to building git 1.5.4, I can stop trying
to reverse engineer it through jenkins. This implementation feels
winnerish.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Reimplementing without git-describe to harden against old
gits and make any kind of reference tag unnecessary.
Conflicts:
tools/get-scala-revision
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The hash code is further improved by using a special value in the hash sets
called a `seed`. For sequential hash tables, this value depends on the size
of the hash table. It determines the number of bits the hashcode should be
rotated. This ensures that hash tables with different sizes use different
bits to compute the position of the element. This way traversing the elements
of the source hash table will yield them in the order where they had similar
hashcodes (and hence, positions) in the source table, but different ones in
the destination table.
Ideally, in the future we want to be able to have a family of hash functions
and assign a different hash function from that family to each hash table
instance. That would statistically almost completely eliminate the possibility
that the hash table element traversal causes excessive collisions.
I should probably @mention extempore here.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Decided to stop guessing at what ant was doing.
% ant -Dscalac.args="-Xcheckinit" init
init:
[echo] build time: 9 December 2011, 21:47:22
[echo] java version: Java HotSpot(TM) 64-Bit Server VM 1.6.0_29
[echo] java args: -Xms1536M -Xmx1536M -Xss1M -XX:MaxPermSize=192M -XX:+UseParallelGC
[echo] javac args:
[echo] scalac args: -Xcheckinit
[echo] build number: 2.10.0.dev-1340-ga890d60
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that I've resorted to building git 1.5.4, I can stop trying
to reverse engineer it through jenkins. This implementation feels
winnerish.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Reimplementing without git-describe to harden against old
gits and make any kind of reference tag unnecessary.
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Environment variable maven_settings.
|
|\| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Offer explicit settings.xml path for maven if some specific
hardcoded path exists, don't otherwise. At least it's in one
place where we can keep an eye on it.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
% pscalac -Dscala.timings ./src/library/scala/util/*.scala
phase id ms share
----------------------- -- ---- -----
typer 4 3632 44.73
specialize 13 1175 14.47
erasure 15 800 9.85
jvm 27 504 6.21
icode 22 427 5.26
...
ms path
-------- ----------------------------------------------
1056.667 ./src/library/scala/util/Sorting.scala
1019.369 ./src/library/scala/util/MurmurHash.scala
702.881 ./src/library/scala/util/Properties.scala
435.053 ./src/library/scala/util/Random.scala
429.702 ./src/library/scala/util/MurmurHash3.scala
246.453 ./src/library/scala/util/DynamicVariable.scala
69.755 ./src/library/scala/util/Marshal.scala
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It foiled me right on the cusp of a successful windows nightly.
https://scala-webapps.epfl.ch/jenkins/job/scala-nightly-windows/1170/consoleText
|
|\| | | |
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Configuring via environment variables.
|
|\| | | |
|
| | | |
| | | |
| | | |
| | | | |
Unified further with build options.
|
| | | | |
|
| |/ /
| | |
| | |
| | | |
Out of jenkins and into version control.
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
Binary library pull/push is limited to:
- test/files
- lib
|
| | |
| | |
| | |
| | |
| | | |
Pretty sure nobody's using this? Let's make some space
for our upcoming friend the 0.11 project.
|
|\ \ \
| | | |
| | | |
| | | | |
'jsuereth/dont_resolve_releases'
|