[squeak-dev] Review Request: SparseLargeTable explorerContents.1.cs

christoph.thiede at student.hpi.uni-potsdam.de christoph.thiede at student.hpi.uni-potsdam.de
Fri Mar 25 19:12:50 UTC 2022


Merged via Morphic-ct.1945.

Best,
Christoph

---
Sent from Squeak Inbox Talk

On 2022-02-28T09:21:08+01:00, marcel.taeumel at hpi.de wrote:

> +1
> Am 26.02.2022 22:22:40 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:
> 
> Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Thiede, Christoph
> Gesendet: Samstag, 26. Februar 2022 22:20:04
> An: squeak-dev at lists.squeakfoundation.org
> Betreff: [squeak-dev] Review Request: SparseLargeTable explorerContents.1.cs
>  
> Depends on: Review Request: SparseLargeTable enumerate+tests.1.cs [http://lists.squeakfoundation.org/pipermail/squeak-dev/2022-February/219294.html]
> See also: Review Request: Bag-explorer & RunArray-explorer [http://lists.squeakfoundation.org/pipermail/squeak-dev/2022-February/218985.html]
> 
> Best,
> Christoph
> 
> =============== Summary ===============
> 
> Change Set:        SparseLargeTable explorerContents
> Date:            26 February 2022
> Author:            Christoph Thiede
> 
> This changeset revises the ObjectExplorer representation of SparseLargeTables/SparseLargeArrays by only displaying non-default values next to the defaultValue variable. Depends on SparseLargeTable enumerate+tests.1.cs.
> 
> =============== Diff ===============
> 
> SparseLargeTable>>explorerContents {*Morphic-Explorer} · ct 2/26/2022 21:49
> + explorerContents
> +
> +     ^ Array streamContents: [:stream |
> +         stream nextPut: (ObjectExplorerWrapper
> +             with: defaultValue
> +             name: 'defaultValue'
> +             model: self).
> +         self sparseElementsAndIndicesDo: [:element :index |
> +             stream nextPut: (ObjectExplorerWrapper
> +                 with: element
> +                 name: index printString
> +                 model: self)]]
> 
> ---
> Sent from Squeak Inbox Talk [https://github.com/hpi-swa-lab/squeak-inbox-talk]
> ["SparseLargeTable explorerContents.1.cs"]
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220228/2203a4a7/attachment-0001.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: pastedImage.png
> Type: image/png
> Size: 99588 bytes
> Desc: not available
> URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220228/2203a4a7/attachment-0001.png>
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220325/34ff13c5/attachment.html>


More information about the Squeak-dev mailing list