lucene
lucene copied to clipboard
LUCENE-10125: Another idea of DirectWriter (v2)
Another variant of #327
It may be better from optimization standpoint, because it uses a hard typed MethodHandle casting the long to correct type. The MH can be passed as constant into the loop.
Backside: Methodhandle#invokeExact()
throws f*king Throwable
!