News for hackers. Stuff that matters.
Re:SIMD Binary Heap Operations by gotoeleven on Thursday August 14, 2025 @12:30PM (#44902445)
I think the parent comment is asking what process or algorithm is there that would result in an array that was sometimes but not always a heap, and you'd want to do something based on whether the array was in fact a heap or not? Like in your example, what process do you have in mind that might result in a heap and might not?
Re:SIMD Binary Heap Operations by simonask on Sunday August 17, 2025 @10:00AM (#44931605)
Any time you deal with semi-trusted input, like an internal protocol or deserialization. :-)