Ecosyste.ms: Timeline
Browse the timeline of events for every public repo on GitHub. Data updated hourly from GH Archive.
lrytz opened a draft pull request on scala/scala
Reduce memory footprint of evaluated values in LazyList
POC, but needs to be made thread-safe. Eyes and thoughts very welcome on that. Also not all tests pass yet, but doesn't seem difficult to fix.lrytz closed a pull request on scala/scala
Regression test for BuildFrom
See scala/bug#12104 and fix #10209lrytz closed a pull request on scala/scala
Fix `BigInt#testBit` to throw `ArithmeticException` when `n` is negative
The `_bigInteger` field, a mutable value initialized by `BigInt#bigInteger`, is accessed directly by `BigInt#testBit` when the input `n` is negative. As a result, `testBit` currently throws a `Null...lrytz opened an issue on scala/scala-dev
Fix AnnotationInfo when using defaults
```scala scala> class ann(x: Int = 1, y: Int = 2) extends annotation.StaticAnnotation class ann scala> @ann(y = Nil.size) class K ^ warning: Usage of named or default argument...lrytz created a comment on a pull request on scala/scala-xml
> I haven't followed through to understand what's going on exactly or if `reset` actually fixes it, I'll do that. Didn't manage to reproduce the failure we saw and suspect would be fixed by this...
lrytz created a review comment on a pull request on scala/scala
maybe mark the helpers `@noinline`, as this is the goal here?
lrytz created a review comment on a pull request on scala/scala
No strong opinion either, a new object in `scala.collection.generic` sounds fine.
lrytz created a comment on a pull request on scala/scala
Thank you for the benchmark! > is there no arraycopy if exactly sized? There must be a copy, the StringBuilder can continue to be used. Unless they do something fancy, like a dirty bit in the...
lrytz created a comment on a pull request on scala/scala
What would really help: a single test file for everything around stabilizers and rassocs, their combinations, interaction with implicit params and conversions (and other features?). Scala 3 seem...
lrytz created a comment on a pull request on scala/scala
Bug found while trying stuff ``` object T extends App { def x = println("x") def y = println("y") object Nol { def ::(x: Any)(implicit o: Ordering[Int]): Nol.type = Nol } ...
lrytz pushed 1 commit to issue/5073-rassoc-method-value som-snytt/scala
- pending stabilizers for already typed trees 9240ec7
lrytz pushed 1 commit to issue/5073-rassoc-method-value som-snytt/scala
- pending stabilizers for already typed trees 5839607
lrytz closed a pull request on scala/scala
Performance of Constant string printing [ci: last-only]
Use a StringBuilder to build a String. Since quotes are always added, it's not obvious that string add is worthwhile after chars have been copied to the builder. Could also prescan for an escapable...lrytz created a review comment on a pull request on scala/scala
this piece made me wonder. so the example is this ``` class L object E extends L class C(val h: Int, val t: L) extends L class D(val l: () => L) { def #:: (o: Int): L = new C(o, l())...
lrytz created a comment on a pull request on scala/scala
@sideeffffect we're planning to open up the standard library for new additions in 2.13.17 (https://docs.scala-lang.org/sips/drop-stdlib-forwards-bin-compat.html), we'll look into this PR for that r...
lrytz created a review comment on a pull request on scala/scala
Thank you Alex :) I was trying to find a solution along the lines you suggest but missed a few ideas. At least I managed to spot the races, that's why I ended up using a `CountDownLatch`. Now I ...
lrytz pushed 1 commit to t13058 lrytz/scala
- Deregister stale callbacks in `Future.firstCompletedOf` da26f25
lrytz pushed 1 commit to t13058 lrytz/scala
- Deregister stale callbacks in `Future.firstCompletedOf` e67466f
lrytz pushed 1 commit to t13058 lrytz/scala
- Deregister stale callbacks in `Future.firstCompletedOf` 3bad4b7