Ecosyste.ms: Timeline

Browse the timeline of events for every public repo on GitHub. Data updated hourly from GH Archive.

lrytz

lrytz pushed 1 commit to t13062 lrytz/scala
  • Ensure LazyList.initState assigns evaluated head / tail Also simplify a couple of operation implementations and alig... 250431f

View on GitHub

lrytz created a review on a pull request on scala/scala

View on GitHub

lrytz pushed 2 commits to t13062 lrytz/scala
  • review feedback 99356b7
  • Ensure LazyList.initState assigns evaluated head / tail Also simplify a couple of operation implementations and alig... a3a794c

View on GitHub

lrytz pushed 2 commits to t13062 lrytz/scala
  • review feedback c9e6119
  • Ensure LazyList.initState assigns evaluated head / tail Also simplify a couple of operation implementations and alig... d1954f3

View on GitHub

lrytz created a review comment on a pull request on scala/scala
You might be spot on. For example, if I look at `object cons` ``` def apply[A](hd: => A, tl: => LazyList[A]): LazyList[A] = newLL(eagerCons(hd, newLL(tl.state))) ``` we have `newLL(tl.state...

View on GitHub

lrytz created a review on a pull request on scala/scala

View on GitHub

lrytz created a review comment on a pull request on scala/scala
👍 added a test

View on GitHub

lrytz created a review on a pull request on scala/scala

View on GitHub

lrytz pushed 1 commit to t13062 lrytz/scala

View on GitHub

lrytz created a review comment on a pull request on scala/scala
I should have added a comment, sorry. I did it separately because `force` calls `isEmpty`, which is `state eq LazyList.Empty`. The `state` method, after initialization, returns `LazyList.Empty`. Bu...

View on GitHub

lrytz created a review on a pull request on scala/scala

View on GitHub

lrytz created a review comment on a pull request on scala/scala
I can add `extends Serializable`. But if a lazy list gets serialized in the middle of `initState` with `_state eq MidEvaluation`, de-serialization creates a LazyList instance that will never be ...

View on GitHub

lrytz created a review on a pull request on scala/scala

View on GitHub

lrytz created a review comment on a pull request on scala/scala
`MidEvaluation` is only assigned to `_state`, the `_head` remains `Uninitialized` until initialization is done.

View on GitHub

lrytz created a review on a pull request on scala/scala

View on GitHub

lrytz pushed 1 commit to t13058 lrytz/scala
  • Deregister stale callbacks in `Future.firstCompletedOf` 41695ad

View on GitHub

lrytz created a review comment on a pull request on scala/scala
I left this as it's in the same style as the rest of the implementation.

View on GitHub

lrytz created a review on a pull request on scala/scala

View on GitHub

lrytz pushed 1 commit to random-alphanum lrytz/scala
  • deprecate Random.alphanumeric, add nextAlphanumericChar 0aa1583

View on GitHub

lrytz created a branch on lrytz/scala

random-alphanum - The Scala programming language

lrytz created a comment on a pull request on scala/scala
@NthPortal wdyt about the current state? I took a quick look at LazyList usage in the standard library, given its performance overhead. It's [used in `View.from(iterator)`](https://github.com...

View on GitHub

lrytz pushed 2 commits to 2.13.x scala/scala
  • `substSym` replaces owners of `RefinementClassSymbol`s Given ``` class C { def f = new { def g = new { ... 9121a9d
  • Merge pull request #10940 from lrytz/subst-sym-refinement-owner `substSym` replaces owners of `RefinementClassSymbol`s 06d9be6

View on GitHub

lrytz closed a pull request on scala/scala
`substSym` replaces owners of `RefinementClassSymbol`s
Given ```scala class C { def f = new { def g = new { def h = 1 } } } ``` the type of `C.f` is `AnyRef { def g: AnyRef { def h: Int } }`. The inner `RefinedType` h...
lrytz pushed 1 commit to t13062 lrytz/scala
  • Reduce memory footprint of evaluated values in LazyList The LazyList implementation uses two objects per evaluated v... 7ba24b5

View on GitHub

lrytz pushed 1 commit to lint-structural lrytz/scala
  • lint inferred structural types 3d8522f

View on GitHub

lrytz pushed 1 commit to lint-structural lrytz/scala
  • lint inferred structural types af907e8

View on GitHub

lrytz created a comment on an issue on scala/bug
maybe a problem with the reflection usage? try `mirror.classSymbol(classOf[C])` ``` scala> runtimeMirror(Thread.currentThread().getContextClassLoader).staticClass(classOf[C].getName).typeSignat...

View on GitHub

lrytz created a comment on a pull request on scala/scala
@Ichoran lazy vals are evaluated at most once, i posted the desugaring in a comment above https://github.com/scala/scala/pull/10937#issuecomment-2505841427

View on GitHub

lrytz pushed 2 commits to t13062 lrytz/scala

View on GitHub

lrytz created a comment on a pull request on scala/scala
@Ichoran you're right that a lot of short lived objects are allocated while evaluating lazy lists. For example - `LazyList.from(1).take(N).toList` allocates N*4 LazyList instances during eval...

View on GitHub

Load more