orz icon indicating copy to clipboard operation
orz copied to clipboard

Remove unsafe blocks without hurting performance

Open richox opened this issue 4 years ago • 2 comments

richox avatar Nov 18 '21 13:11 richox

is there any good idea for removing these unsafe code?

18o avatar Nov 18 '21 14:11 18o

is there any good idea for removing these unsafe code?

@18o most unsafe is used for avoiding boundary checks by using unchecked_index. i think many of them are not performance critical and can be replaced with normal slice indexing.

richox avatar Nov 25 '21 08:11 richox