logoalt Hacker News

Dylan16807today at 9:55 AM1 replyview on HN

Sorting doesn't need any branches. For FHE you need to think like a circuit designer without indexing operations. In that situation your default sort is a sorting network, made out of nlogn conditional swaps.


Replies

justincormacktoday at 9:59 AM

can you build a conditional swap in FHE in a small size though? FHE is always circuit like, ie no dynamic control flow anyway I think?

show 1 reply