Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It seems what you really want is probability for different symbols. Have you considered estimating them by sampling?


If the sampling is deterministic, it sounds like you'd risk malicious input being able to cause pathological results? Not unlike the various hashmap DoS'es from a couple of years ago.


I think you may be a few years out in that. The hash DoS's were discovered about 11 years ago. Time flies eh?


You're probably right, but there was a least a big reprise of it in 2011 in php - CVE-2011-4885




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: