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

Infiniloop(?) Rapid Memory Consumption on attempting to use == with mixed-in Numeric #5673

Open
p6rt opened this issue Sep 15, 2016 · 2 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 15, 2016

Migrated from rt.perl.org#129275 (status was 'new')

Searchable as RT129275$

@p6rt
Copy link
Author

p6rt commented Sep 15, 2016

From @zoffixznet

There's probably some good underlying reason for why this happens, but from programmers perspective, it's not at all clear what needs to be done to fix the issue, so if there's no way for us to fix it, there should be some sort of an Exception thrown​:

<Zoffix> m​: say class {}.new but Numeric == 72
<camelia> rakudo-moar 2c95f7​: OUTPUT«Memory allocation failed; could not allocate 82944 bytes␤»

@p6rt
Copy link
Author

p6rt commented Sep 17, 2016

From @zoffixznet

There may be many more of this type of issue​:

<Zoffix> m​: say class :​: does Numeric {}.new =~= 42
<camelia> rakudo-moar c4fd9f​: OUTPUT«Memory allocation failed; could not allocate 60336 bytes␤»

@p6rt p6rt added the perf label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant