adah1972 / libunibreak

The libunibreak library
zlib License
173 stars 38 forks source link

Possible Optimization #32

Closed mta452 closed 3 years ago

mta452 commented 3 years ago

I propose to optimize the usage of memory with following points.

adah1972 commented 3 years ago

Sorry, it does not look like a good idea to me. It will increase coupling among the code, and, besides, since the different kind breaks can happen at the same time, you need bit masks instead of allocating different values in order to allow them to work on the same array.