Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSDensityPlot has performance issues #598

Open
jordanmontt opened this issue Sep 19, 2023 · 1 comment
Open

RSDensityPlot has performance issues #598

jordanmontt opened this issue Sep 19, 2023 · 1 comment

Comments

@jordanmontt
Copy link
Contributor

I have to see the distributions of this data. I have 100,000 times the value 1, 200,000 times the value 2 and 50,000 the value 3. With the current implementation of the density, I am obliged to pass an array that has 350,000 elements. If I do that, my image is frozen completely. The time is spent calculating the RSGaussianDensity

How to reproduce:

| densityPlot data |
data := OrderedCollection new.
100000 timesRepeat: [ data add: 1 ].
200000 timesRepeat: [ data add: 2 ].
50000 timesRepeat: [ data add: 3 ].
densityPlot := self data: data.
densityPlot bandwidth: 4.
^ densityPlot open.
@akevalion
Copy link
Contributor

Moved to pharo-graphics/Roassal

@akevalion akevalion reopened this Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants