Repository navigation
Closes #5028: Fix a small issue in interpretAsBytes - #5029
Conversation
|
Looking at htop while running from arkouda.comm_diagnostics import (start_comm_diagnostics, stop_comm_diagnostics, print_comm_diagnostics_table, reset_comm_diagnostics)
N = 10**5
start_comm_diagnostics()
a = ak.random_strings_uniform(8, 2**16, N)
stop_comm_diagnostics()
print_comm_diagnostics_table()
reset_comm_diagnostics()
start_comm_diagnostics()
a.strip("a")
stop_comm_diagnostics()
print_comm_diagnostics_table()There doesn't seem to be a change in how much RAM this uses (between main and branch) which I think is the crux of #2389. The line |
ajpotts
left a comment
There was a problem hiding this comment.
Looks good. Wondering a reproducer should be added to the tests.
|
I wonder if the memory reported by top includes things that the Chapel runtime frees, but never gives back to the OS. |
While Engin was looking at
strip, he noticed thatinterpretAsByteswas incorrect when borrow is set totrue. This corrects that error and then also fixes the issue instripbecause borrow should be set totruethere.Closes #5028: Fix a small issue in interpretAsBytes